Package org.apache.poi.util
Enum LocaleID
- All Implemented Interfaces:
Serializable,Comparable<LocaleID>,java.lang.constant.Constable
Locale Collection
This enum can be used to map between Windows LCID and Java Locales
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionintintintgetLcid()static LocaleIDlookupByLanguageTag(String languageTag) Lookup via the Java language tag / locale display namestatic LocaleIDlookupByLcid(int lcid) Lookup via the Windows LCIDstatic LocaleIDReturns the enum constant of this type with the specified name.static LocaleID[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AR
-
BG
-
CA
-
ZH_HANS
-
CS
-
DA
-
DE
-
EL
-
EN
-
ES
-
FI
-
FR
-
HE
-
HU
-
IS
-
IT
-
JA
-
KO
-
NL
-
NO
-
PL
-
PT
-
RM
-
RO
-
RU
-
HR
-
SK
-
SQ
-
SV
-
TH
-
TR
-
UR
-
ID
-
UK
-
BE
-
SL
-
ET
-
LV
-
LT
-
TG
-
FA
-
VI
-
HY
-
AZ
-
EU
-
HSB
-
MK
-
ST
-
TS
-
TN
-
VE
-
XH
-
ZU
-
AF
-
KA
-
FO
-
HI
-
MT
-
SE
-
GA
-
YI
-
MS
-
KK
-
KY
-
SW
-
TK
-
UZ
-
TT
-
BN
-
PA
-
GU
-
OR
-
TA
-
TE
-
KN
-
ML
-
AS
-
MR
-
SA
-
MN
-
BO
-
CY
-
KM
-
LO
-
MY
-
GL
-
KOK
-
MNI
-
SD
-
SYR
-
SI
-
CHR
-
IU
-
AM
-
TZM
-
KS
-
NE
-
FY
-
PS
-
FIL
-
DV
-
BIN
-
FF
-
HA
-
IBB
-
YO
-
QUZ
-
NSO
-
BA
-
LB
-
KL
-
IG
-
KR
-
OM
-
TI
-
GN
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I
-
EN_NZ
-
ES_CR
-
FR_LU
-
BS_LATN_BA
-
SMJ_SE
-
AR_MA
-
EN_IE
-
ES_PA
-
FR_MC
-
SR_LATN_BA
-
SMA_NO
-
AR_TN
-
EN_ZA
-
ES_DO
-
INVALID_L
-
SR_CYRL_BA
-
SMA_SE
-
AR_OM
-
INVALID_M
-
EN_JM
-
ES_VE
-
FR_RE
-
BS_CYRL_BA
-
SMS_FI
-
AR_YE
-
EN_029
-
ES_CO
-
FR_CD
-
SR_LATN_RS
-
SMN_FI
-
AR_SY
-
EN_BZ
-
ES_PE
-
FR_SN
-
SR_CYRL_RS
-
AR_JO
-
EN_TT
-
ES_AR
-
FR_CM
-
SR_LATN_ME
-
AR_LB
-
EN_ZW
-
ES_EC
-
FR_CI
-
SR_CYRL_ME
-
AR_KW
-
EN_PH
-
ES_CL
-
FR_ML
-
AR_AE
-
EN_ID
-
ES_UY
-
FR_MA
-
AR_BH
-
EN_HK
-
ES_PY
-
FR_HT
-
AR_QA
-
EN_IN
-
ES_BO
-
AR_PLOC_SA
-
EN_MY
-
ES_SV
-
AR_145
-
EN_SG
-
ES_HN
-
EN_AE
-
ES_NI
-
EN_BH
-
ES_PR
-
EN_EG
-
ES_US
-
EN_JO
-
ES_419
-
EN_KW
-
ES_CU
-
EN_TR
-
EN_YE
-
BS_CYRL
-
BS_LATN
-
SR_CYRL
-
SR_LATN
-
SMN
-
AZ_CYRL
-
SMS
-
ZH
-
NN
-
BS
-
AZ_LATN
-
SMA
-
UZ_CYRL
-
MN_CYRL
-
IU_CANS
-
TZM_TFNG
-
ZH_HANT
-
NB
-
SR
-
TG_CYRL
-
DSB
-
SMJ
-
UZ_LATN
-
PA_ARAB
-
MN_MONG
-
SD_ARAB
-
CHR_CHER
-
IU_LATN
-
TZM_LATN
-
FF_LATN
-
HA_LATN
-
KU_ARAB
-
INVALID_N
-
INVALID_O
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getLcid
public int getLcid() -
getWindowsId
-
getLanguageTag
-
getDescription
-
getDefaultCodepage
public int getDefaultCodepage() -
getFirstWeekday
public int getFirstWeekday() -
lookupByLanguageTag
Lookup via the Java language tag / locale display name- Parameters:
languageTag- the locale display name- Returns:
- if found the LocaleId, otherwise
null
-
lookupByLcid
Lookup via the Windows LCID- Parameters:
lcid- the language code id (LCID)- Returns:
- if found the LocaleId, otherwise
null
-