public enum TranslatorOptions extends java.lang.Enum<TranslatorOptions>
| Enum Constant and Description |
|---|
REQUIRE_PERCENT
Require a % sign before a translation key.
|
SKIP_ARGS_TRANSLATION
Skip the translation of arguments if they start with a %.
|
| Modifier and Type | Method and Description |
|---|---|
static TranslatorOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TranslatorOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslatorOptions SKIP_ARGS_TRANSLATION
public static final TranslatorOptions REQUIRE_PERCENT
public static TranslatorOptions[] values()
for (TranslatorOptions c : TranslatorOptions.values()) System.out.println(c);
public static TranslatorOptions 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