public static enum FileSystem.OpenState extends java.lang.Enum<FileSystem.OpenState>
| Enum Constant and Description |
|---|
CLOSED
State of the file system after a call to
FileSystem.close(). |
OPEN
State of the file system after a call to
FileSystem.open() and before a
call to FileSystem.close(). |
UNINITIALIZED
State of the file system before a call to
FileSystem.open(). |
| Modifier and Type | Method and Description |
|---|---|
static FileSystem.OpenState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileSystem.OpenState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSystem.OpenState UNINITIALIZED
FileSystem.open().public static final FileSystem.OpenState OPEN
FileSystem.open() and before a
call to FileSystem.close().public static final FileSystem.OpenState CLOSED
FileSystem.close().public static FileSystem.OpenState[] values()
for (FileSystem.OpenState c : FileSystem.OpenState.values()) System.out.println(c);
public static FileSystem.OpenState 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 nullCopyright © Sylvain HallĂ©. All Rights Reserved.