public static enum ConfigFile.FileFormat extends java.lang.Enum<ConfigFile.FileFormat>
Enum Constant and Description |
---|
CONNL |
LEMMATIZED |
TOKENIZED |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static ConfigFile.FileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigFile.FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigFile.FileFormat TOKENIZED
public static final ConfigFile.FileFormat LEMMATIZED
public static final ConfigFile.FileFormat CONNL
public static final ConfigFile.FileFormat UNDEFINED
public static ConfigFile.FileFormat[] values()
for (ConfigFile.FileFormat c : ConfigFile.FileFormat.values()) System.out.println(c);
public static ConfigFile.FileFormat 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