public static enum FileReader.State extends Enum<FileReader.State>
Enum Constant and Description |
---|
DONE
The entire read request has been completed.
|
EMPTY
No data has been loaded yet.
|
LOADING
Data is currently being loaded.
|
Modifier and Type | Method and Description |
---|---|
static FileReader.State |
fromValue(short value) |
abstract short |
getValue() |
static FileReader.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileReader.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileReader.State EMPTY
public static final FileReader.State LOADING
public static final FileReader.State DONE
public static FileReader.State[] values()
for (FileReader.State c : FileReader.State.values()) System.out.println(c);
public static FileReader.State 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 nullpublic abstract short getValue()
public static FileReader.State fromValue(short value)
Copyright © 2017. All Rights Reserved.