public static enum FileManager.Op extends Enum<FileManager.Op>
Enum Constant and Description |
---|
COPY |
COPY_PASTE |
CUT_PASTE |
MOVE |
UPLOAD |
Modifier and Type | Method and Description |
---|---|
String |
toErrorMessage(String reason) |
String |
toTitle() |
static FileManager.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileManager.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileManager.Op UPLOAD
public static final FileManager.Op COPY
public static final FileManager.Op MOVE
public static final FileManager.Op COPY_PASTE
public static final FileManager.Op CUT_PASTE
public static FileManager.Op[] values()
for (FileManager.Op c : FileManager.Op.values()) System.out.println(c);
public static FileManager.Op 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 String toTitle()