default
core
core
core.File
close()
- Close the current file.
flush()
- Write pending buffers to disk..
isOpen() : boolean
- Check whether the File object has a valid file handle.
open(String name, int accessFlags) : boolean
- Open a file in the local file system.
openLocal(String name, int accessFlags) : boolean
- Open a file in the local file system.
seek(int offset, mode)
- Seek to the given file offset.
setOffset(int offset)
- Seek to the given absolute file offset (bytes).int
IOS_IN
- File access mode "read-only".
int
IOS_INOUT
- File access mode "read-write".
int
IOS_OUT
- File access mode "write/create".
int
SEEK_CUR
- Seek relative to current file offset.
int
SEEK_END
- Seek relative to end of file.
int
SEEK_SET
- Seek to absolute file offset.
Method close | |||
Close the current file. | |||
Signature | |||
|
Method flush | |||
Write pending buffers to disk.. | |||
Signature | |||
|
Method isOpen | |||||
Check whether the File object has a valid file handle. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method open | ||||||||||||||||||||
Open a file in the local file system. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method openLocal | ||||||||||||||||||||
Deprecated: | ||||||||||||||||||||
Open a file in the local file system. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method seek | |||||||||||||||
Seek to the given file offset. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
Method setOffset | |||||
Seek to the given absolute file offset (bytes). | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Constant IOS_IN (int) | |
File access mode "read-only". | |
Constant IOS_INOUT (int) | |
File access mode "read-write". | |
Constant IOS_OUT (int) | |
File access mode "write/create". | |
Constant SEEK_CUR (int) | |
Seek relative to current file offset. | |
Constant SEEK_END (int) | |
Seek relative to end of file. | |
Constant SEEK_SET (int) | |
Seek to absolute file offset. | |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54