public static enum TextReader.Type extends java.lang.Enum<TextReader.Type>
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
parse(java.lang.String value) |
static TextReader.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextReader.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextReader.Type STRING
public static final TextReader.Type INT
public static final TextReader.Type LONG
public static final TextReader.Type DOUBLE
public static TextReader.Type[] values()
for (TextReader.Type c : TextReader.Type.values()) System.out.println(c);
public static TextReader.Type 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 abstract java.lang.Object parse(java.lang.String value)