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