|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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 |
int APPEND
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.
int READ
int UPDATE
int WRITE
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |