public static enum FileWrapper.FileState extends Enum<FileWrapper.FileState>
| Enum Constant and Description |
|---|
CLOSED |
OPEN_FOR_READ |
OPEN_FOR_WRITE |
| Modifier and Type | Method and Description |
|---|---|
static FileWrapper.FileState |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Oracle. All Rights Reserved.