public enum FileState extends Enum<FileState>
Enum Constant and Description |
---|
FAILED
An error occurred while transferring this file.
|
FINISHED
The file has been successfully transferred.
|
IDLE
The transfer unit has not started.
|
TRANSFERRING
The file is currently being transferred.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static FileState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileState FAILED
public static final FileState FINISHED
public static final FileState TRANSFERRING
public static final FileState IDLE
public static FileState[] values()
for (FileState c : FileState.values()) System.out.println(c);
public static 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 © 2015 Aspera Inc.. All rights reserved.