quicktime.io
Class OpenFile
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.io.OpenedFile
|
+--quicktime.io.OpenFile
- All Implemented Interfaces:
- quicktime.jdirect.InterfaceLib, quicktime.jdirect.PrimitivesLib, quicktime.jdirect.QuickTimeLib, quicktime.jdirect.SharedLibrary, com.apple.jdirect.SharedLibrary
- public final class OpenFile
- extends OpenedFile
An object of this class represents an opened file
that is opened for reading or writing. Only the file's
Data Fork is opened.
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
asRead
public static OpenFile asRead(QTFile f)
throws QTException
- Open the specified file for reading.
QuickTime::FSpOpenDF()
- Parameters:
f
- the file to open- Returns:
- the opened file.
asWrite
public static OpenFile asWrite(QTFile f)
throws QTException
- Open the specified file for writing.
QuickTime::FSpOpenDF()
- Parameters:
f
- the file to open- Returns:
- the opened file.