public static class PropertyFile.Entry.Type extends EnumeratedAttribute
Modifier and Type | Field and Description |
---|---|
static int |
DATE_TYPE
date
|
static int |
INTEGER_TYPE
int
|
static int |
STRING_TYPE
string
|
value
Constructor and Description |
---|
PropertyFile.Entry.Type() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getValues()
This is the only method a subclass needs to implement.
|
static int |
toType(java.lang.String type)
Convert string to index.
|
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
public static final int INTEGER_TYPE
public static final int DATE_TYPE
public static final int STRING_TYPE
public java.lang.String[] getValues()
getValues
in class EnumeratedAttribute
public static int toType(java.lang.String type)
type
- the string to convert.