public enum EnumLocale extends java.lang.Enum<EnumLocale>
| Enum Constant and Description |
|---|
FRANCE
Enum constant of Locale French France
|
JAPAN
Enum constant of Locale Japanese Japan
|
UK
Enum constant of Locale English Great Britain
|
US
Enum constant of Locale English united States
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Returns the String value of this enum.
|
static EnumLocale |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumLocale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumLocale US
public static final EnumLocale FRANCE
public static final EnumLocale UK
public static final EnumLocale JAPAN
public static EnumLocale[] values()
for (EnumLocale c : EnumLocale.values()) System.out.println(c);
public static EnumLocale 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 java.lang.String getValue()