public enum OptionValueType extends java.lang.Enum<OptionValueType>
| Enum Constant | Description |
|---|---|
BOOLEAN |
|
DOUBLE |
|
FILE |
|
FLOAT |
|
INT |
|
LONG |
|
STRING |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class<?> |
getClassType() |
|
static OptionValueType |
resolve(java.lang.String alias) |
Returns an
OptionValueType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static OptionValueType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static OptionValueType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionValueType STRING
public static final OptionValueType INT
public static final OptionValueType LONG
public static final OptionValueType FLOAT
public static final OptionValueType DOUBLE
public static final OptionValueType BOOLEAN
public static final OptionValueType FILE
public static OptionValueType[] values()
for (OptionValueType c : OptionValueType.values()) System.out.println(c);
public static OptionValueType 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.Class<?> getClassType()
public java.lang.String toString()
toString in class java.lang.Enum<OptionValueType>public static OptionValueType resolve(java.lang.String alias)
OptionValueType with a value represented
by the specified String.alias - the item value type as a StringOptionValueType, may be nullCopyright © 2008–2017 The Aspectran Project. All rights reserved.