Package | com.adobe.flascc.vfs |
Class | public class FileHandle |
Inheritance | FileHandle ![]() |
Property | Defined By | ||
---|---|---|---|
appending : Boolean
True if this file descriptor was opened with O_APPEND. | FileHandle | ||
backingStore : IBackingStore [read-only]
The BackingStore that owns this FDEntry. | FileHandle | ||
backingStoreRelativePath : String [read-only]
The relative path to the underlying file in the VFS. | FileHandle | ||
bytes : ByteArray [read-only]
If this file descriptor refers to a normal file this will contain the contents of the file. | FileHandle | ||
callback : ISpecialFile [read-only]
If this file descriptor refers to a special file this references an object implementing the ISpecialFile interface that will be used to handle read/write requests. | FileHandle | ||
isDirectory : Boolean [read-only]
True if this file descriptor referes to a directory. | FileHandle | ||
path : String [read-only]
The full path to the file referenced by this file descriptor
| FileHandle | ||
position : uint
The position within the file that read/write operations will occur at. | FileHandle | ||
readable : Boolean
True if this file descriptor was opened with O_RDWR or if it was not opened as O_WRONLY. | FileHandle | ||
writeable : Boolean
True if this file descriptor was opened with O_WRONLY or O_RDWR. | FileHandle |
appending | property |
public var appending:Boolean
True if this file descriptor was opened with O_APPEND.
backingStore | property |
backingStore:IBackingStore
[read-only] The BackingStore that owns this FDEntry.
public function get backingStore():IBackingStore
backingStoreRelativePath | property |
backingStoreRelativePath:String
[read-only] The relative path to the underlying file in the VFS.
public function get backingStoreRelativePath():String
bytes | property |
bytes:ByteArray
[read-only] If this file descriptor refers to a normal file this will contain the contents of the file.
public function get bytes():ByteArray
callback | property |
callback:ISpecialFile
[read-only] If this file descriptor refers to a special file this references an object implementing the ISpecialFile interface that will be used to handle read/write requests.
public function get callback():ISpecialFile
isDirectory | property |
isDirectory:Boolean
[read-only] True if this file descriptor referes to a directory.
public function get isDirectory():Boolean
path | property |
path:String
[read-only] The full path to the file referenced by this file descriptor
public function get path():String
position | property |
public var position:uint
The position within the file that read/write operations will occur at.
readable | property |
public var readable:Boolean
True if this file descriptor was opened with O_RDWR or if it was not opened as O_WRONLY.
writeable | property |
public var writeable:Boolean
True if this file descriptor was opened with O_WRONLY or O_RDWR.