| Modifier and Type | Field and Description |
|---|---|
static int |
CLOSED |
static int |
CREATE
Used to create a file if one does not exist; if the file exists, it is not erased, and the mode is changed to
READ_WRITE.
|
static int |
CREATE_EMPTY
Create an empty file; destroys the file if it exists, then the mode is changed to READ_WRITE.
|
static int |
DONT_OPEN
The DONT_OPEN mode allows the exists(), rename(), delete(), listFiles(), createDir(), and isDir() methods to be
called without requiring the file to be open for reading or writing.
|
static int |
INVALID |
static int |
READ_ONLY
Read-only open mode.
|
static int |
READ_WRITE
Read-write open mode.
|
static final int INVALID
static final int DONT_OPEN
#File(String),
#File(String,int),
#File(String,int,int),
#exists(),
#rename(String),
#delete(),
#listFiles(),
#createDir(),
#isDir(),
Constant Field Valuesstatic final int READ_WRITE
#File(String,int),
#File(String,int,int),
Constant Field Valuesstatic final int READ_ONLY
#File(String,int),
#File(String,int,int),
Constant Field Valuesstatic final int CREATE
#File(String,int),
#File(String,int,int),
Constant Field Valuesstatic final int CREATE_EMPTY
#File(String,int),
#File(String,int,int),
Constant Field Valuesstatic final int CLOSED