public enum PreferenceType extends java.lang.Enum<PreferenceType>
Enum Constant and Description |
---|
ARRAY
Type byte[]
|
BOOLEAN
Type boolean
|
FILE
Type
File |
INTEGER
Type int
|
STRING
Type
String |
Modifier and Type | Method and Description |
---|---|
static PreferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferenceType ARRAY
public static final PreferenceType BOOLEAN
public static final PreferenceType FILE
File
public static final PreferenceType INTEGER
public static final PreferenceType STRING
String
public static PreferenceType[] values()
for (PreferenceType c : PreferenceType.values()) System.out.println(c);
public static PreferenceType 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 null