org.shetline.util
Enum PropertiesControl.LocaleMode
java.lang.Object
java.lang.Enum<PropertiesControl.LocaleMode>
org.shetline.util.PropertiesControl.LocaleMode
- All Implemented Interfaces:
- Serializable, Comparable<PropertiesControl.LocaleMode>
- Enclosing class:
- PropertiesControl
public static enum PropertiesControl.LocaleMode
- extends Enum<PropertiesControl.LocaleMode>
ROOT_ONLY
public static final PropertiesControl.LocaleMode ROOT_ONLY
NO_VARIANTS
public static final PropertiesControl.LocaleMode NO_VARIANTS
NO_COUNTRIES
public static final PropertiesControl.LocaleMode NO_COUNTRIES
FULL
public static final PropertiesControl.LocaleMode FULL
values
public static PropertiesControl.LocaleMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PropertiesControl.LocaleMode c : PropertiesControl.LocaleMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PropertiesControl.LocaleMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null