Enum FileListParameter.FilesType
- java.lang.Object
-
- java.lang.Enum<FileListParameter.FilesType>
-
- elki.utilities.optionhandling.parameters.FileListParameter.FilesType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileListParameter.FilesType>
- Enclosing class:
- FileListParameter
public static enum FileListParameter.FilesType extends java.lang.Enum<FileListParameter.FilesType>
Available types of the files:INPUT_FILES
denotes input files,OUTPUT_FILES
denotes output files.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INPUT_FILES
Input files (i.e. read only)OUTPUT_FILES
Output files
-
Constructor Summary
Constructors Modifier Constructor Description private
FilesType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileListParameter.FilesType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileListParameter.FilesType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INPUT_FILES
public static final FileListParameter.FilesType INPUT_FILES
Input files (i.e. read only)
-
OUTPUT_FILES
public static final FileListParameter.FilesType OUTPUT_FILES
Output files
-
-
Method Detail
-
values
public static FileListParameter.FilesType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileListParameter.FilesType c : FileListParameter.FilesType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileListParameter.FilesType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-