Package cdc.util.tools
Enum FileEncoder.MainArgs.Feature
- java.lang.Object
-
- java.lang.Enum<FileEncoder.MainArgs.Feature>
-
- cdc.util.tools.FileEncoder.MainArgs.Feature
-
- All Implemented Interfaces:
OptionEnum,Serializable,Comparable<FileEncoder.MainArgs.Feature>
- Enclosing class:
- FileEncoder.MainArgs
public static enum FileEncoder.MainArgs.Feature extends Enum<FileEncoder.MainArgs.Feature> implements OptionEnum
Enumeration of possible boolean options.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIST_CHARSETSVERBOSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()static FileEncoder.MainArgs.FeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static FileEncoder.MainArgs.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERBOSE
public static final FileEncoder.MainArgs.Feature VERBOSE
-
LIST_CHARSETS
public static final FileEncoder.MainArgs.Feature LIST_CHARSETS
-
-
Method Detail
-
values
public static FileEncoder.MainArgs.Feature[] 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 (FileEncoder.MainArgs.Feature c : FileEncoder.MainArgs.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileEncoder.MainArgs.Feature valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public final String getName()
- Specified by:
getNamein interfaceOptionEnum
-
getDescription
public final String getDescription()
- Specified by:
getDescriptionin interfaceOptionEnum
-
-