Enum Constant and Description |
---|
T_DIR |
T_ENC |
T_FILE |
T_FLOAT |
T_INT |
T_INT_OR_FLOAT |
T_LANG |
T_NONE |
T_STRING |
T_TERM_LIST |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStr() |
static OptType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptType T_TERM_LIST
public static final OptType T_INT
public static final OptType T_FLOAT
public static final OptType T_INT_OR_FLOAT
public static final OptType T_STRING
public static final OptType T_FILE
public static final OptType T_DIR
public static final OptType T_LANG
public static final OptType T_ENC
public static final OptType T_NONE
public static OptType[] values()
for (OptType c : OptType.values()) System.out.println(c);
public static OptType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStr()