public static enum FileStream.Mode extends java.lang.Enum<FileStream.Mode>
Enum Constant | Description |
---|---|
READ_ONLY |
Open for reading only.
|
READ_WRITE_APPEND |
Open for reading and writing.
|
READ_WRITE_D |
Open for reading and writing.
|
READ_WRITE_NEW |
Open for reading and writing.
|
READ_WRITE_S |
Open for reading and writing.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
|
static FileStream.Mode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FileStream.Mode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileStream.Mode READ_ONLY
public static final FileStream.Mode READ_WRITE_NEW
public static final FileStream.Mode READ_WRITE_APPEND
public static final FileStream.Mode READ_WRITE_S
public static final FileStream.Mode READ_WRITE_D
public static FileStream.Mode[] values()
for (FileStream.Mode c : FileStream.Mode.values()) System.out.println(c);
public static FileStream.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FileStream.Mode>