Class opera.io.filemode
Object | +--opera.io.filemode
- class opera.io.filemode
File mode constants that can be used with File.open()
Defined in file-io.js
| Field Summary | |
int |
APPEND
Open the file for appending. |
int |
READ
Open the file for reading. |
int |
UPDATE
Open the file for reading and writing. |
int |
WRITE
Open the file for writing. |
| Constructor Summary | |
opera.io.filemode
()
This class has no public constructor. |
|
| Field Detail |
APPEND
int APPEND
Open the file for appending.
This will preserve the contents of the file and write from the end of the file. If the File does not exist, it is immediately created.
The value of the constant is 4.
READ
int READ
Open the file for reading. The value of the constant is 1.
UPDATE
int UPDATE
Open the file for reading and writing. This is equivalent to r+. The value of the constant is 8.
WRITE
int WRITE
Open the file for writing.
This will empty the file first. If the File does not exist, it is immediately created.
The value of the constant is 2.
| Constructor Detail |
opera.io.filemode
opera.io.filemode()
This class has no public constructor.
Documentation generated by JSDoc on Tue Oct 6 11:14:59 2009
