Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, com.apple.jdirect.SharedLibrary, quicktime.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`

Method Summary
`static OpenFile` | `asRead(QTFile f)` Open the specified file for reading.
`static OpenFile` | `asWrite(QTFile f)` Open the specified file for writing.

Methods inherited from class quicktime.io.OpenedFile
`close, getFile`

Methods inherited from class quicktime.QTObject
`disposeQTObject, equals, ID, toString`

Methods inherited from class java.lang.Object
`getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD