public enum LanguageAlpha3Code extends Enum<LanguageAlpha3Code>
Most languages have just one ISO 639-2 code, but there are some languages that have 2 codes, ISO 639-2/T code ("terminological" code) and ISO 639-2/B code ("bibliographic" code). The table below lists up langueses having two ISO 639-2 codes.
ISO 639-1 | ISO 639-2/T | ISO 639-2/B | Language |
---|---|---|---|
bo |
bod |
tib |
Tibetan |
eu |
eus |
baq |
Basque |
cs |
ces |
cze |
Czech |
cy |
cym |
wel |
Welsh |
de |
deu |
ger |
German |
el |
ell |
gre |
Greek |
fa |
fas |
per |
Persian |
fr |
fra |
fre |
French |
hy |
hye |
arm |
Armenian |
is |
isl |
ice |
Icelandic |
ka |
kat |
geo |
Georgian |
mi |
mri |
mao |
Māori |
mk |
mkd |
mac |
Macedonian |
ms |
msa |
may |
Malay |
my |
mya |
bur |
Burmese |
nl |
nld |
dut |
Dutch |
ro |
ron |
rum |
Romanian |
sk |
slk |
slo |
Slovak |
sq |
sqi |
alb |
Albanian |
ISO 639-2 code for Newari is new
, but in this enum, the corresponding entry
is not new
but New
(the first letter is capital),
because new
is a special word for Java programming language.
Modifier and Type | Class and Description |
---|---|
static class |
LanguageAlpha3Code.Usage
The usage of this language code.
|
Modifier and Type | Method and Description |
---|---|
static List<LanguageAlpha3Code> |
findByName(Pattern pattern)
Get a list of
LanguageAlpha3Code by a name pattern. |
static List<LanguageAlpha3Code> |
findByName(String regex)
Get a list of
LanguageAlpha3Code by a name regular expression. |
LanguageCode |
getAlpha2()
Get ISO 639-1
language code.
|
LanguageAlpha3Code |
getAlpha3B()
Get the bibliographic code of this language.
|
LanguageAlpha3Code |
getAlpha3T()
Get the terminological code of this language.
|
static LanguageAlpha3Code |
getByCode(String code)
|
static LanguageAlpha3Code |
getByCode(String code,
boolean caseSensitive)
|
static LanguageAlpha3Code |
getByCodeIgnoreCase(String code)
|
String |
getName()
Get the language name.
|
LanguageAlpha3Code |
getSynonym()
Get the synonym of this code.
|
LanguageAlpha3Code.Usage |
getUsage()
Get the usage of this language code.
|
static LanguageAlpha3Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageAlpha3Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageAlpha3Code undefined
This is not an official ISO 639-2 code.
und: Undetermined
,
zxx: No linguistic content
public static final LanguageAlpha3Code aar
public static final LanguageAlpha3Code aav
public static final LanguageAlpha3Code abk
public static final LanguageAlpha3Code ace
public static final LanguageAlpha3Code ach
public static final LanguageAlpha3Code ada
public static final LanguageAlpha3Code ady
public static final LanguageAlpha3Code afa
public static final LanguageAlpha3Code afh
public static final LanguageAlpha3Code afr
public static final LanguageAlpha3Code ain
public static final LanguageAlpha3Code aka
public static final LanguageAlpha3Code akk
public static final LanguageAlpha3Code alb
sqi
public static final LanguageAlpha3Code ale
public static final LanguageAlpha3Code alg
public static final LanguageAlpha3Code alt
public static final LanguageAlpha3Code alv
public static final LanguageAlpha3Code amh
public static final LanguageAlpha3Code ang
public static final LanguageAlpha3Code anp
public static final LanguageAlpha3Code apa
public static final LanguageAlpha3Code aqa
public static final LanguageAlpha3Code aql
public static final LanguageAlpha3Code ara
public static final LanguageAlpha3Code arc
public static final LanguageAlpha3Code arg
public static final LanguageAlpha3Code arm
hye
public static final LanguageAlpha3Code arn
public static final LanguageAlpha3Code arp
public static final LanguageAlpha3Code art
public static final LanguageAlpha3Code arw
public static final LanguageAlpha3Code asm
public static final LanguageAlpha3Code ast
public static final LanguageAlpha3Code ath
public static final LanguageAlpha3Code auf
public static final LanguageAlpha3Code aus
public static final LanguageAlpha3Code ava
public static final LanguageAlpha3Code ave
public static final LanguageAlpha3Code awa
public static final LanguageAlpha3Code awd
public static final LanguageAlpha3Code aym
public static final LanguageAlpha3Code azc
public static final LanguageAlpha3Code aze
az
).public static final LanguageAlpha3Code bad
public static final LanguageAlpha3Code bai
public static final LanguageAlpha3Code bak
public static final LanguageAlpha3Code bal
public static final LanguageAlpha3Code bam
public static final LanguageAlpha3Code ban
public static final LanguageAlpha3Code baq
eus
public static final LanguageAlpha3Code bas
public static final LanguageAlpha3Code bat
public static final LanguageAlpha3Code bej
public static final LanguageAlpha3Code bel
be
).public static final LanguageAlpha3Code bem
public static final LanguageAlpha3Code ben
public static final LanguageAlpha3Code ber
public static final LanguageAlpha3Code bho
public static final LanguageAlpha3Code bih
public static final LanguageAlpha3Code bik
public static final LanguageAlpha3Code bin
public static final LanguageAlpha3Code bis
public static final LanguageAlpha3Code bla
public static final LanguageAlpha3Code bnt
public static final LanguageAlpha3Code bod
tib
public static final LanguageAlpha3Code bos
public static final LanguageAlpha3Code bra
public static final LanguageAlpha3Code bre
public static final LanguageAlpha3Code btk
public static final LanguageAlpha3Code bua
public static final LanguageAlpha3Code bug
public static final LanguageAlpha3Code bul
public static final LanguageAlpha3Code bur
mya
public static final LanguageAlpha3Code byn
public static final LanguageAlpha3Code cad
public static final LanguageAlpha3Code cai
public static final LanguageAlpha3Code car
public static final LanguageAlpha3Code cat
public static final LanguageAlpha3Code cau
public static final LanguageAlpha3Code cba
public static final LanguageAlpha3Code ccn
public static final LanguageAlpha3Code ccs
public static final LanguageAlpha3Code cdc
public static final LanguageAlpha3Code cdd
public static final LanguageAlpha3Code ceb
public static final LanguageAlpha3Code cel
public static final LanguageAlpha3Code ces
cze
public static final LanguageAlpha3Code cha
public static final LanguageAlpha3Code chb
public static final LanguageAlpha3Code che
public static final LanguageAlpha3Code chg
public static final LanguageAlpha3Code chi
zho
public static final LanguageAlpha3Code chk
public static final LanguageAlpha3Code chm
public static final LanguageAlpha3Code chn
public static final LanguageAlpha3Code cho
public static final LanguageAlpha3Code chp
public static final LanguageAlpha3Code chr
public static final LanguageAlpha3Code chu
public static final LanguageAlpha3Code chv
public static final LanguageAlpha3Code chy
public static final LanguageAlpha3Code cmc
public static final LanguageAlpha3Code cop
public static final LanguageAlpha3Code cor
public static final LanguageAlpha3Code cos
public static final LanguageAlpha3Code cpe
public static final LanguageAlpha3Code cpf
public static final LanguageAlpha3Code cpp
public static final LanguageAlpha3Code cre
public static final LanguageAlpha3Code crh
public static final LanguageAlpha3Code crp
public static final LanguageAlpha3Code csb
public static final LanguageAlpha3Code csu
public static final LanguageAlpha3Code cus
public static final LanguageAlpha3Code cym
wel
public static final LanguageAlpha3Code cze
ces
public static final LanguageAlpha3Code dak
public static final LanguageAlpha3Code dan
public static final LanguageAlpha3Code dar
public static final LanguageAlpha3Code day
public static final LanguageAlpha3Code del
public static final LanguageAlpha3Code den
public static final LanguageAlpha3Code deu
ger
public static final LanguageAlpha3Code dgr
public static final LanguageAlpha3Code din
public static final LanguageAlpha3Code div
public static final LanguageAlpha3Code dmn
public static final LanguageAlpha3Code doi
public static final LanguageAlpha3Code dra
public static final LanguageAlpha3Code dsb
public static final LanguageAlpha3Code dua
public static final LanguageAlpha3Code dum
public static final LanguageAlpha3Code dut
nld
public static final LanguageAlpha3Code dyu
public static final LanguageAlpha3Code dzo
public static final LanguageAlpha3Code efi
public static final LanguageAlpha3Code egx
public static final LanguageAlpha3Code egy
public static final LanguageAlpha3Code eka
public static final LanguageAlpha3Code ell
el
) for terminology applications.Modern Greek (gre)
,
Acient Greek (grc)
public static final LanguageAlpha3Code elx
public static final LanguageAlpha3Code eng
public static final LanguageAlpha3Code enm
public static final LanguageAlpha3Code epo
public static final LanguageAlpha3Code est
public static final LanguageAlpha3Code esx
public static final LanguageAlpha3Code euq
public static final LanguageAlpha3Code eus
baq
public static final LanguageAlpha3Code ewe
public static final LanguageAlpha3Code ewo
public static final LanguageAlpha3Code fan
public static final LanguageAlpha3Code fao
public static final LanguageAlpha3Code fas
per
public static final LanguageAlpha3Code fat
public static final LanguageAlpha3Code fij
public static final LanguageAlpha3Code fil
public static final LanguageAlpha3Code fin
public static final LanguageAlpha3Code fiu
public static final LanguageAlpha3Code fon
public static final LanguageAlpha3Code fox
public static final LanguageAlpha3Code fra
fre
public static final LanguageAlpha3Code fre
fra
public static final LanguageAlpha3Code frm
public static final LanguageAlpha3Code fro
public static final LanguageAlpha3Code frr
public static final LanguageAlpha3Code frs
public static final LanguageAlpha3Code fry
fy
).public static final LanguageAlpha3Code ful
public static final LanguageAlpha3Code fur
public static final LanguageAlpha3Code gaa
public static final LanguageAlpha3Code gay
public static final LanguageAlpha3Code gba
public static final LanguageAlpha3Code gem
public static final LanguageAlpha3Code geo
kat
public static final LanguageAlpha3Code ger
deu
public static final LanguageAlpha3Code gez
public static final LanguageAlpha3Code gil
public static final LanguageAlpha3Code gla
public static final LanguageAlpha3Code gle
public static final LanguageAlpha3Code glg
public static final LanguageAlpha3Code glv
public static final LanguageAlpha3Code gme
public static final LanguageAlpha3Code gmh
public static final LanguageAlpha3Code gmq
public static final LanguageAlpha3Code gmw
public static final LanguageAlpha3Code goh
public static final LanguageAlpha3Code gon
public static final LanguageAlpha3Code gor
public static final LanguageAlpha3Code got
public static final LanguageAlpha3Code grb
public static final LanguageAlpha3Code grc
Modern Greek (ell)
public static final LanguageAlpha3Code gre
el
) for bibliographic applications.Modern Greek (ell)
,
Acient Greek (grc)
public static final LanguageAlpha3Code grk
public static final LanguageAlpha3Code grn
public static final LanguageAlpha3Code gsw
public static final LanguageAlpha3Code guj
public static final LanguageAlpha3Code gwi
public static final LanguageAlpha3Code hai
public static final LanguageAlpha3Code hat
public static final LanguageAlpha3Code hau
public static final LanguageAlpha3Code haw
public static final LanguageAlpha3Code heb
public static final LanguageAlpha3Code her
public static final LanguageAlpha3Code hil
public static final LanguageAlpha3Code him
public static final LanguageAlpha3Code hin
public static final LanguageAlpha3Code hit
public static final LanguageAlpha3Code hmn
public static final LanguageAlpha3Code hmo
public static final LanguageAlpha3Code hmx
public static final LanguageAlpha3Code hok
public static final LanguageAlpha3Code hrv
public static final LanguageAlpha3Code hsb
public static final LanguageAlpha3Code hun
public static final LanguageAlpha3Code hup
public static final LanguageAlpha3Code hye
arm
public static final LanguageAlpha3Code hyx
public static final LanguageAlpha3Code iba
public static final LanguageAlpha3Code ibo
public static final LanguageAlpha3Code ice
isl
public static final LanguageAlpha3Code ido
public static final LanguageAlpha3Code iii
public static final LanguageAlpha3Code iir
public static final LanguageAlpha3Code ijo
public static final LanguageAlpha3Code iku
public static final LanguageAlpha3Code ile
ie
).public static final LanguageAlpha3Code ilo
public static final LanguageAlpha3Code ina
public static final LanguageAlpha3Code inc
public static final LanguageAlpha3Code ind
id
).public static final LanguageAlpha3Code ine
public static final LanguageAlpha3Code inh
public static final LanguageAlpha3Code ipk
public static final LanguageAlpha3Code ira
public static final LanguageAlpha3Code iro
public static final LanguageAlpha3Code isl
ice
public static final LanguageAlpha3Code ita
public static final LanguageAlpha3Code itc
public static final LanguageAlpha3Code jav
public static final LanguageAlpha3Code jbo
public static final LanguageAlpha3Code jpn
public static final LanguageAlpha3Code jpr
public static final LanguageAlpha3Code jpx
public static final LanguageAlpha3Code jrb
public static final LanguageAlpha3Code kaa
public static final LanguageAlpha3Code kab
public static final LanguageAlpha3Code kac
public static final LanguageAlpha3Code kal
kl
).public static final LanguageAlpha3Code kam
public static final LanguageAlpha3Code kan
public static final LanguageAlpha3Code kar
public static final LanguageAlpha3Code kas
public static final LanguageAlpha3Code kat
geo
public static final LanguageAlpha3Code kau
public static final LanguageAlpha3Code kaw
public static final LanguageAlpha3Code kaz
public static final LanguageAlpha3Code kbd
public static final LanguageAlpha3Code kdo
public static final LanguageAlpha3Code kha
public static final LanguageAlpha3Code khi
public static final LanguageAlpha3Code khm
public static final LanguageAlpha3Code kho
public static final LanguageAlpha3Code kik
public static final LanguageAlpha3Code kin
rw
).public static final LanguageAlpha3Code kir
public static final LanguageAlpha3Code kmb
public static final LanguageAlpha3Code kok
public static final LanguageAlpha3Code kom
public static final LanguageAlpha3Code kon
public static final LanguageAlpha3Code kor
public static final LanguageAlpha3Code kos
public static final LanguageAlpha3Code kpe
public static final LanguageAlpha3Code krc
public static final LanguageAlpha3Code krl
public static final LanguageAlpha3Code kro
public static final LanguageAlpha3Code kru
public static final LanguageAlpha3Code kua
public static final LanguageAlpha3Code kum
public static final LanguageAlpha3Code kur
public static final LanguageAlpha3Code kut
public static final LanguageAlpha3Code lad
public static final LanguageAlpha3Code lah
public static final LanguageAlpha3Code lam
public static final LanguageAlpha3Code lao
public static final LanguageAlpha3Code lat
public static final LanguageAlpha3Code lav
public static final LanguageAlpha3Code lez
public static final LanguageAlpha3Code lim
li
).public static final LanguageAlpha3Code lin
public static final LanguageAlpha3Code lit
lt
).public static final LanguageAlpha3Code lol
public static final LanguageAlpha3Code loz
public static final LanguageAlpha3Code ltz
lb
).public static final LanguageAlpha3Code lua
public static final LanguageAlpha3Code lub
lu
).public static final LanguageAlpha3Code lug
public static final LanguageAlpha3Code lui
public static final LanguageAlpha3Code lun
public static final LanguageAlpha3Code luo
public static final LanguageAlpha3Code lus
public static final LanguageAlpha3Code mac
mk
) for bibliographic applications.mkd
public static final LanguageAlpha3Code mad
public static final LanguageAlpha3Code mag
public static final LanguageAlpha3Code mah
mh
).public static final LanguageAlpha3Code mai
public static final LanguageAlpha3Code mak
public static final LanguageAlpha3Code mal
public static final LanguageAlpha3Code man
public static final LanguageAlpha3Code mao
mri
public static final LanguageAlpha3Code map
public static final LanguageAlpha3Code mar
public static final LanguageAlpha3Code mas
public static final LanguageAlpha3Code may
msa
public static final LanguageAlpha3Code mdf
public static final LanguageAlpha3Code mdr
public static final LanguageAlpha3Code men
public static final LanguageAlpha3Code mga
public static final LanguageAlpha3Code mic
public static final LanguageAlpha3Code min
public static final LanguageAlpha3Code mis
public static final LanguageAlpha3Code mkd
mk
) for terminology applications.mac
public static final LanguageAlpha3Code mkh
public static final LanguageAlpha3Code mlg
public static final LanguageAlpha3Code mlt
public static final LanguageAlpha3Code mnc
public static final LanguageAlpha3Code mni
public static final LanguageAlpha3Code mno
public static final LanguageAlpha3Code moh
public static final LanguageAlpha3Code mon
public static final LanguageAlpha3Code mos
public static final LanguageAlpha3Code mri
mao
public static final LanguageAlpha3Code msa
may
public static final LanguageAlpha3Code mul
public static final LanguageAlpha3Code mun
public static final LanguageAlpha3Code mus
public static final LanguageAlpha3Code mwl
public static final LanguageAlpha3Code mwr
public static final LanguageAlpha3Code mya
bur
public static final LanguageAlpha3Code myn
public static final LanguageAlpha3Code myv
public static final LanguageAlpha3Code nah
public static final LanguageAlpha3Code nai
public static final LanguageAlpha3Code nap
public static final LanguageAlpha3Code nau
public static final LanguageAlpha3Code nav
public static final LanguageAlpha3Code nbl
public static final LanguageAlpha3Code nde
public static final LanguageAlpha3Code ndo
public static final LanguageAlpha3Code nds
public static final LanguageAlpha3Code nep
public static final LanguageAlpha3Code New
Because new
is a special word for Java programming
language, new
cannot be used as an enum entry.
So, the first letter of this entry is a capital letter.
toString()
method of this instance (New
)
returns "new"
.
public static final LanguageAlpha3Code ngf
public static final LanguageAlpha3Code nia
public static final LanguageAlpha3Code nic
public static final LanguageAlpha3Code niu
public static final LanguageAlpha3Code nld
dut
public static final LanguageAlpha3Code nno
public static final LanguageAlpha3Code nob
public static final LanguageAlpha3Code nog
public static final LanguageAlpha3Code non
public static final LanguageAlpha3Code nor
public static final LanguageAlpha3Code nqo
public static final LanguageAlpha3Code nso
public static final LanguageAlpha3Code nub
public static final LanguageAlpha3Code nwc
public static final LanguageAlpha3Code nya
public static final LanguageAlpha3Code nym
public static final LanguageAlpha3Code nyn
public static final LanguageAlpha3Code nyo
public static final LanguageAlpha3Code nzi
public static final LanguageAlpha3Code oci
public static final LanguageAlpha3Code oji
public static final LanguageAlpha3Code omq
public static final LanguageAlpha3Code omv
public static final LanguageAlpha3Code ori
public static final LanguageAlpha3Code orm
public static final LanguageAlpha3Code osa
public static final LanguageAlpha3Code oss
public static final LanguageAlpha3Code ota
public static final LanguageAlpha3Code oto
public static final LanguageAlpha3Code paa
public static final LanguageAlpha3Code pag
public static final LanguageAlpha3Code pal
public static final LanguageAlpha3Code pam
public static final LanguageAlpha3Code pan
public static final LanguageAlpha3Code pap
public static final LanguageAlpha3Code pau
public static final LanguageAlpha3Code peo
public static final LanguageAlpha3Code per
fas
public static final LanguageAlpha3Code phi
public static final LanguageAlpha3Code phn
public static final LanguageAlpha3Code plf
public static final LanguageAlpha3Code pli
public static final LanguageAlpha3Code pol
public static final LanguageAlpha3Code pon
public static final LanguageAlpha3Code por
pt
).public static final LanguageAlpha3Code poz
public static final LanguageAlpha3Code pqe
public static final LanguageAlpha3Code pqw
public static final LanguageAlpha3Code pra
public static final LanguageAlpha3Code pro
public static final LanguageAlpha3Code pus
public static final LanguageAlpha3Code que
public static final LanguageAlpha3Code qwe
public static final LanguageAlpha3Code raj
public static final LanguageAlpha3Code rap
public static final LanguageAlpha3Code rar
public static final LanguageAlpha3Code roa
public static final LanguageAlpha3Code roh
public static final LanguageAlpha3Code rom
public static final LanguageAlpha3Code ron
rum
public static final LanguageAlpha3Code rum
ron
public static final LanguageAlpha3Code run
public static final LanguageAlpha3Code rup
public static final LanguageAlpha3Code rus
public static final LanguageAlpha3Code sad
public static final LanguageAlpha3Code sag
public static final LanguageAlpha3Code sah
public static final LanguageAlpha3Code sai
public static final LanguageAlpha3Code sal
public static final LanguageAlpha3Code sam
public static final LanguageAlpha3Code san
public static final LanguageAlpha3Code sas
public static final LanguageAlpha3Code sat
public static final LanguageAlpha3Code scn
public static final LanguageAlpha3Code sco
public static final LanguageAlpha3Code sdv
public static final LanguageAlpha3Code sel
public static final LanguageAlpha3Code sem
public static final LanguageAlpha3Code sga
public static final LanguageAlpha3Code sgn
public static final LanguageAlpha3Code shn
public static final LanguageAlpha3Code sid
public static final LanguageAlpha3Code sin
public static final LanguageAlpha3Code sio
public static final LanguageAlpha3Code sit
public static final LanguageAlpha3Code sla
public static final LanguageAlpha3Code slk
slo
public static final LanguageAlpha3Code slo
slk
public static final LanguageAlpha3Code slv
public static final LanguageAlpha3Code sma
public static final LanguageAlpha3Code sme
se
).public static final LanguageAlpha3Code smi
public static final LanguageAlpha3Code smj
public static final LanguageAlpha3Code smn
public static final LanguageAlpha3Code smo
public static final LanguageAlpha3Code sms
public static final LanguageAlpha3Code sna
public static final LanguageAlpha3Code snd
public static final LanguageAlpha3Code snk
public static final LanguageAlpha3Code sog
public static final LanguageAlpha3Code som
public static final LanguageAlpha3Code son
public static final LanguageAlpha3Code sot
st
).public static final LanguageAlpha3Code spa
public static final LanguageAlpha3Code sqi
alb
public static final LanguageAlpha3Code sqj
public static final LanguageAlpha3Code srd
public static final LanguageAlpha3Code srn
public static final LanguageAlpha3Code srp
public static final LanguageAlpha3Code srr
public static final LanguageAlpha3Code ssa
public static final LanguageAlpha3Code ssw
public static final LanguageAlpha3Code suk
public static final LanguageAlpha3Code sun
public static final LanguageAlpha3Code sus
public static final LanguageAlpha3Code sux
public static final LanguageAlpha3Code swa
public static final LanguageAlpha3Code swe
public static final LanguageAlpha3Code syc
public static final LanguageAlpha3Code syd
public static final LanguageAlpha3Code syr
public static final LanguageAlpha3Code tah
public static final LanguageAlpha3Code tai
public static final LanguageAlpha3Code tam
public static final LanguageAlpha3Code tat
public static final LanguageAlpha3Code tbq
public static final LanguageAlpha3Code tel
public static final LanguageAlpha3Code tem
public static final LanguageAlpha3Code ter
public static final LanguageAlpha3Code tet
public static final LanguageAlpha3Code tgk
public static final LanguageAlpha3Code tgl
public static final LanguageAlpha3Code tha
public static final LanguageAlpha3Code tib
bod
public static final LanguageAlpha3Code tig
public static final LanguageAlpha3Code tir
public static final LanguageAlpha3Code tiv
public static final LanguageAlpha3Code tkl
public static final LanguageAlpha3Code tlh
public static final LanguageAlpha3Code tli
public static final LanguageAlpha3Code tmh
public static final LanguageAlpha3Code tog
public static final LanguageAlpha3Code ton
public static final LanguageAlpha3Code tpi
public static final LanguageAlpha3Code trk
public static final LanguageAlpha3Code tsi
public static final LanguageAlpha3Code tsn
public static final LanguageAlpha3Code tso
public static final LanguageAlpha3Code tuk
public static final LanguageAlpha3Code tum
public static final LanguageAlpha3Code tup
public static final LanguageAlpha3Code tur
public static final LanguageAlpha3Code tut
public static final LanguageAlpha3Code tuw
public static final LanguageAlpha3Code tvl
public static final LanguageAlpha3Code twi
public static final LanguageAlpha3Code tyv
public static final LanguageAlpha3Code udm
public static final LanguageAlpha3Code uga
public static final LanguageAlpha3Code uig
public static final LanguageAlpha3Code ukr
public static final LanguageAlpha3Code umb
public static final LanguageAlpha3Code und
public static final LanguageAlpha3Code urd
public static final LanguageAlpha3Code urj
public static final LanguageAlpha3Code uzb
public static final LanguageAlpha3Code vai
public static final LanguageAlpha3Code ven
public static final LanguageAlpha3Code vie
vi
).public static final LanguageAlpha3Code vol
public static final LanguageAlpha3Code vot
public static final LanguageAlpha3Code wak
public static final LanguageAlpha3Code wal
public static final LanguageAlpha3Code war
public static final LanguageAlpha3Code was
public static final LanguageAlpha3Code wel
cym
public static final LanguageAlpha3Code wen
public static final LanguageAlpha3Code wln
public static final LanguageAlpha3Code wol
public static final LanguageAlpha3Code xal
public static final LanguageAlpha3Code xgn
public static final LanguageAlpha3Code xho
public static final LanguageAlpha3Code xnd
public static final LanguageAlpha3Code yao
public static final LanguageAlpha3Code yap
public static final LanguageAlpha3Code yid
public static final LanguageAlpha3Code yor
public static final LanguageAlpha3Code ypk
public static final LanguageAlpha3Code zap
public static final LanguageAlpha3Code zbl
public static final LanguageAlpha3Code zen
public static final LanguageAlpha3Code zha
public static final LanguageAlpha3Code zho
chi
public static final LanguageAlpha3Code zhx
public static final LanguageAlpha3Code zle
public static final LanguageAlpha3Code zls
public static final LanguageAlpha3Code zlw
public static final LanguageAlpha3Code znd
public static final LanguageAlpha3Code zul
public static final LanguageAlpha3Code zun
public static final LanguageAlpha3Code zxx
public static final LanguageAlpha3Code zza
public static LanguageAlpha3Code[] values()
for (LanguageAlpha3Code c : LanguageAlpha3Code.values()) System.out.println(c);
public static LanguageAlpha3Code 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 getName()
public LanguageCode getAlpha2()
null
.public LanguageAlpha3Code.Usage getUsage()
Most language codes return Usage.COMMON
.
public LanguageAlpha3Code getSynonym()
In most cases, this method simply returns this
object. On
the other hand, language codes that have two alpha-3 codes, namely, ISO
639-2/T code ("terminological" code) and ISO 639-2/B code
("bibliographic" code), return their counterparts. For example,
LanguageAlpha3Code.deu
.getSynonym()
returns
LanguageAlpha3Code.ger
.
public LanguageAlpha3Code getAlpha3B()
Most languages have just one ISO 639-2 code and they
simply return this
object. Only ISO 639-2/T codes
("terminological" codes) return counterpart objects. For example,
LanguageAlpha3Code.fra
.getAlpha3B()
returns LanguageAlpha3Code.fre
.
public LanguageAlpha3Code getAlpha3T()
Most languages have just one ISO 639-2 code and they
simply return this
object. Only ISO 639-2/B codes
("bibliographic" codes) return counterpart objects. For example,
LanguageAlpha3Code.fre
.getAlpha3T()
returns LanguageAlpha3Code.fra
.
public static LanguageAlpha3Code getByCode(String code)
LanguageAlpha3Code
that corresponds to a given
ISO 639-1 code
(2-letter lowercase code) or
ISO 639-2 code
(3-letter lowercase code).
This method calls getByCode
(code, true)
.
Note that the behavior has changed since the version 1.13. In the older versions,
this method was an alias of getByCode(code, false)
.
code
- An ISO 639-1
code (2-letter lowercase code) or an
ISO 639-2
code (3-letter lowercase code). Or "undefined".
Note that if the given code is one of legacy language codes
("iw", "ji" and "in"), it is treated as its official counterpart
("he", "yi" and "id"), respectively. For example, if "in" is
given, this method returns LanguageAlpha3Code.ind
.LanguageAlpha3Code
instance, or null
if not found.
If ISO 639-1
code (2-letter code) is given and the language has two
ISO 639-2
codes, ISO 639/T code ("terminological" code) is returned.public static LanguageAlpha3Code getByCodeIgnoreCase(String code)
LanguageAlpha3Code
that corresponds to a given
ISO 639-1 code
(2-letter lowercase code) or
ISO 639-2 code
(3-letter lowercase code).
This method calls getByCode
(code, false)
.
code
- An ISO 639-1
code (2-letter lowercase code) or an
ISO 639-2
code (3-letter lowercase code). Or "undefined" (case insensitive).
Note that if the given code is one of legacy language codes
("iw", "ji" and "in"), it is treated as its official counterpart
("he", "yi" and "id"), respectively. For example, if "in" is
given, this method returns LanguageAlpha3Code.ind
.LanguageAlpha3Code
instance, or null
if not found.
If ISO 639-1
code (2-letter code) is given and the language has two
ISO 639-2
codes, ISO 639/T code ("terminological" code) is returned.public static LanguageAlpha3Code getByCode(String code, boolean caseSensitive)
LanguageAlpha3Code
that corresponds to a given
ISO 639-1 code
(2-letter lowercase code) or
ISO 639-2 code
(3-letter lowercase code).code
- An ISO 639-1
code (2-letter lowercase code) or an
ISO 639-2
code (3-letter lowercase code). Or "undefined" (its case
sensitivity depends on the value of caseSensitive
).
Note that if the given code is one of legacy language codes
("iw", "ji" and "in"), it is treated as its official counterpart
("he", "yi" and "id"), respectively. For example, if "in" is
given, this method returns LanguageAlpha3Code.ind
.caseSensitive
- If true
, the given code should consist of lowercase letters only.
If false
, this method internally canonicalizes the given code by
String.toLowerCase()
and then performs search. For
example, getByCode("JPN", true)
returns null
, but on the
other hand, getByCode("JPN", false)
returns LanguageAlpha3Code.jpn
.
As an exceptional case, both getByCode("New", true)
and
getByCode("new", true)
return New
(Newari).LanguageAlpha3Code
instance, or null
if not found.
If ISO 639-1
code (2-letter code) is given and the language has two
ISO 639-2
codes, ISO 639/T code ("terminological" code) is returned.public static List<LanguageAlpha3Code> findByName(String regex)
LanguageAlpha3Code
by a name regular expression.
This method is almost equivalent to findByName
(Pattern.compile(regex))
.
regex
- Regular expression for names.LanguageAlpha3Code
. If nothing has matched,
an empty list is returned.IllegalArgumentException
- regex
is null
.PatternSyntaxException
- regex
failed to be compiled.public static List<LanguageAlpha3Code> findByName(Pattern pattern)
LanguageAlpha3Code
by a name pattern.
For example, the list obtained by the code snippet below:
Pattern pattern = Pattern.compile("Old.*");
List<LanguageAlpha3Code> list = LanguageAlpha3Code.findByName(pattern);
contains 7 LanguageAlpha3Code
s as listed below.
pattern
- Pattern to match names.LanguageAlpha3Code
. If nothing has matched,
an empty list is returned.IllegalArgumentException
- pattern
is null
.Copyright © 2021. All rights reserved.