public static enum FileWrapper.FileState extends java.lang.Enum<FileWrapper.FileState>
Enum Constant and Description |
---|
CLOSED |
OPEN_FOR_READ |
OPEN_FOR_WRITE |
Modifier and Type | Method and Description |
---|---|
static FileWrapper.FileState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileWrapper.FileState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileWrapper.FileState CLOSED
public static final FileWrapper.FileState OPEN_FOR_READ
public static final FileWrapper.FileState OPEN_FOR_WRITE
public static FileWrapper.FileState[] values()
for (FileWrapper.FileState c : FileWrapper.FileState.values()) System.out.println(c);
public static FileWrapper.FileState 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 null