public enum Locale extends Enum<Locale>
| Enum Constant and Description |
|---|
ca_ES |
da_DK |
de_AT |
de_CH |
de_DE |
en_US |
es_ES |
fi_FI |
fr_BE |
fr_FR |
hu_HU |
is_IS |
it_IT |
lt_LT |
lv_LV |
nb_NO |
nl_BE |
nl_NL |
pl_PL |
pt_PT |
sv_SE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonValue() |
static Locale |
valueOf(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 en_US
public static final Locale nl_NL
public static final Locale nl_BE
public static final Locale fr_FR
public static final Locale fr_BE
public static final Locale de_DE
public static final Locale de_AT
public static final Locale de_CH
public static final Locale es_ES
public static final Locale ca_ES
public static final Locale pt_PT
public static final Locale it_IT
public static final Locale nb_NO
public static final Locale sv_SE
public static final Locale fi_FI
public static final Locale da_DK
public static final Locale is_IS
public static final Locale hu_HU
public static final Locale pl_PL
public static final Locale lv_LV
public static final Locale lt_LT
public static final Locale UNKNOWN
public static Locale[] values()
for (Locale c : Locale.values()) System.out.println(c);
public static Locale 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 nullpublic String getJsonValue()
Copyright © 2020. All rights reserved.