Enum Constant and Description |
---|
CS_CZ |
DE_DE |
EL_GR |
EN_AU |
EN_GB |
EN_PH |
EN_PL |
EN_SG |
EN_US |
ES_AR |
ES_ES |
ES_MX |
FR_FR |
HU_HU |
ID_ID |
IT_IT |
JA_JP |
KO_KR |
MS_MY |
PL_PL |
PT_BR |
RO_RO |
RU_RU |
TH_TH |
TR_TR |
VN_VN |
ZH_CN |
ZH_MY |
ZH_TW |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
toString() |
static Locale |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Locale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Locale CS_CZ
public static final Locale DE_DE
public static final Locale EL_GR
public static final Locale EN_AU
public static final Locale EN_GB
public static final Locale EN_PH
public static final Locale EN_PL
public static final Locale EN_SG
public static final Locale EN_US
public static final Locale ES_AR
public static final Locale ES_ES
public static final Locale ES_MX
public static final Locale FR_FR
public static final Locale HU_HU
public static final Locale ID_ID
public static final Locale IT_IT
public static final Locale JA_JP
public static final Locale KO_KR
public static final Locale MS_MY
public static final Locale PL_PL
public static final Locale PT_BR
public static final Locale RO_RO
public static final Locale RU_RU
public static final Locale TH_TH
public static final Locale TR_TR
public static final Locale VN_VN
public static final Locale ZH_CN
public static final Locale ZH_MY
public static final Locale ZH_TW
public static Locale[] values()
for (Locale c : Locale.values()) System.out.println(c);
public static Locale 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 getName()
public java.lang.String toString()
toString
in class java.lang.Enum<Locale>