public static enum FileParameter.FileType extends Enum<FileParameter.FileType>
INPUT_FILE
denotes an input file,
OUTPUT_FILE
denotes an output file.Enum Constant and Description |
---|
INPUT_FILE
Input files (i.e. read only)
|
OUTPUT_FILE
Output files
|
Modifier and Type | Method and Description |
---|---|
static FileParameter.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileParameter.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileParameter.FileType INPUT_FILE
public static final FileParameter.FileType OUTPUT_FILE
public static FileParameter.FileType[] values()
for (FileParameter.FileType c : FileParameter.FileType.values()) System.out.println(c);
public static FileParameter.FileType 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 null