public static enum JLanguageTool.Mode extends Enum<JLanguageTool.Mode>
Enum Constant and Description |
---|
ALL
Use all active rules for checking.
|
ALL_BUT_TEXTLEVEL_ONLY
Use all activate rules for checking except the text-level rules.
|
TEXTLEVEL_ONLY
Use only text-level rules for checking.
|
Modifier and Type | Method and Description |
---|---|
static JLanguageTool.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JLanguageTool.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JLanguageTool.Mode ALL
public static final JLanguageTool.Mode TEXTLEVEL_ONLY
ALL_BUT_TEXTLEVEL_ONLY
.public static final JLanguageTool.Mode ALL_BUT_TEXTLEVEL_ONLY
public static JLanguageTool.Mode[] values()
for (JLanguageTool.Mode c : JLanguageTool.Mode.values()) System.out.println(c);
public static JLanguageTool.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null