public enum Category extends java.lang.Enum<Category> implements EnumConverter<Category>
Enum Constant and Description |
---|
EMPTY |
ICU |
PUNCTUATION |
SIZE |
SPACES |
SPECIAL_SYMBOLS |
SPELLCHECK |
SYMBOL_REGISTER |
TAGS |
VARIABLES |
WRONG_TRANSLATION |
Modifier and Type | Method and Description |
---|---|
static Category |
from(java.lang.String value) |
java.lang.String |
to(Category v) |
static Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Category EMPTY
public static final Category VARIABLES
public static final Category TAGS
public static final Category PUNCTUATION
public static final Category SYMBOL_REGISTER
public static final Category SPACES
public static final Category SIZE
public static final Category SPECIAL_SYMBOLS
public static final Category WRONG_TRANSLATION
public static final Category SPELLCHECK
public static final Category ICU
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category 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 static Category from(java.lang.String value)
public java.lang.String to(Category v)
to
in interface EnumConverter<Category>