public static enum FileBack.FileOperation extends Enum<FileBack.FileOperation>
Enum Constant and Description |
---|
COPY
A constant for coping files.
|
DELETE
A constant for deleting files.
|
READ
A constant for reading files.
|
WRITE
A constant for writing files.
|
Modifier and Type | Method and Description |
---|---|
static FileBack.FileOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileBack.FileOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBack.FileOperation COPY
public static final FileBack.FileOperation DELETE
public static final FileBack.FileOperation READ
public static final FileBack.FileOperation WRITE
public static FileBack.FileOperation[] values()
for (FileBack.FileOperation c : FileBack.FileOperation.values()) System.out.println(c);
public static FileBack.FileOperation 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 © 2011–2015. All rights reserved.