public static enum UserPref.DataType extends Enum<UserPref.DataType>
| Enum Constant and Description |
|---|
BOOL |
ENUM |
HIDDEN |
LIST |
NUMBER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static UserPref.DataType |
parse(String value)
Parses a data type from the input string.
|
static UserPref.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserPref.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserPref.DataType STRING
public static final UserPref.DataType HIDDEN
public static final UserPref.DataType BOOL
public static final UserPref.DataType ENUM
public static final UserPref.DataType LIST
public static final UserPref.DataType NUMBER
public static UserPref.DataType[] values()
for (UserPref.DataType c : UserPref.DataType.values()) System.out.println(c);
public static UserPref.DataType 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 nullpublic static UserPref.DataType parse(String value)
value - Copyright © 2007-2012. All Rights Reserved.