com.neovisionaries.i18n
Enum LanguageAlpha3Code

java.lang.Object
  extended by java.lang.Enum<LanguageAlpha3Code>
      extended by com.neovisionaries.i18n.LanguageAlpha3Code
All Implemented Interfaces:
Serializable, Comparable<LanguageAlpha3Code>

public enum LanguageAlpha3Code
extends Enum<LanguageAlpha3Code>

ISO 639-2 language code (3-letter lowercase code).

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

Note that the current implementation of LanguageAlpha3Code has not been completed yet. In other words, there are many missing ISO 639-2 codes. The entries listed now are limited to ones that have corresponding ISO 639-1 code (2-letter lowercase code). Missing entries will be added in the future.

Since:
1.1
Author:
Takahiko Kawasaki

Nested Class Summary
static class LanguageAlpha3Code.Usage
          The usage of this language code.
 
Enum Constant Summary
aar
          Afar (aa).
abk
          Abkhaz (ab).
afr
          Afrikaans (af).
aka
          Akan (ak).
alb
          Albanian (sq) for bibliographic applications.
amh
          Amharic (am).
ara
          Arabic (ar).
arg
          Aragonese (an).
arm
          Armenian (hy) for bibliographic applications.
asm
          Assamese (as).
ava
          Avaric (av).
ave
          Avestan (ae).
aym
          Aymara (ay).
aze
          Azerbaijani (az).
bak
          Bashkir (ba).
bam
          Bambara (bm).
baq
          Basque (eu) for bibliographic applications.
bel
          Belarusian (be).
ben
          Bengali (bn).
bih
          Bihari (bh).
bis
          Bislama (bi).
bod
          Tibetan (bo) for terminology applications.
bos
          Bosnian (bs).
bre
          Breton (br).
bul
          Bulgarian (bg).
bur
          Burmese (my) for bibliographic applications.
cat
          Catalan (ca).
ces
          Czech (cs) for terminology applications.
cha
          Chamorro (ch).
che
          Chechen (ce).
chi
          Chinese (zh) for bibliographic applications.
chu
          Church Slavonic (cu).
chv
          Chuvash (cv).
cor
          Cornish (kw).
cos
          Corsican (co).
cre
          Cree (cr).
cym
          Welsh (cy) for terminology applications.
cze
          Czech (cs) for bibliographic applications.
dan
          Danish da).
deu
          German (de) for terminology applications.
div
          Dhivehi (dv).
dut
          Dutch (nl) for bibliography applications.
dzo
          Dzongkha (dz).
ell
          Greek (el) for terminology applications.
eng
          English (en).
epo
          Esperanto (eo).
est
          Estonian (et).
eus
          Basque (eu) for terminology applications.
ewe
          Ewe (ee).
fao
          Faroese (fo).
fas
          Persian (fa) for terminology applications.
fij
          Fijian (fj).
fin
          Finnish (fi).
fra
          French (fr) for terminology applications.
fre
          French (fr) for bibliographic applications.
fry
          West Frisian (fy).
ful
          Fula (ff).
geo
          Georgian (ka) for bibliographic applications.
ger
          German (de) for bibliographic applications.
gla
          Scottish Gaelic (gd).
gle
          Irish (ga).
glg
          Galician (gl).
glv
          Manx (gv).
gre
          Greek (el) for bibliographic applications.
grn
          Guaraní ; (gn).
guj
          Gujarati (gu).
hat
          Haitian (ht).
hau
          Hausa (ha).
heb
          Hebrew (he).
her
          Herero (hz).
hin
          Hindi (hi).
hmo
          Hiri Motu (ho).
hrv
          Croatian (hr).
hun
          Hungarian (hu).
hye
          Armenian (hy) for terminology applications.
ibo
          Igbo (ig).
ice
          Icelandic (is) for biblioraphic applications.
ido
          Ido (io).
iii
          Nuosu (ii).
iku
          Inuktitut (iu).
ile
          Interlingue (ie).
ina
          Interlingua ia).
ind
          Indonesian (id).
ipk
          Inupiaq (ik).
isl
          Icelandic (is) for terminology applications.
ita
          Italian (it).
jav
          Javanese (jv).
jpn
          Japanese (ja).
kal
          Kalaallisut (kl).
kan
          Kannada (kn).
kas
          Kashmiri (ks).
kat
          Georgian (ka) for terminology applications.
kau
          Kanuri (kr).
kaz
          Kazakh (kk).
khm
          Khmer (km).
kik
          Kikuyu (ki).
kin
          Kinyarwanda (rw).
kir
          Kyrgyz (ky).
kom
          Komi (kv).
kon
          Kongo (kg).
kor
          Korean (ko).
kua
          Kwanyama (kj).
kur
          Kurdish (ku).
lao
          Lao (lo).
lat
          Latin (la).
lav
          Latvian (lv).
lim
          Limburgish (li).
lin
          Lingala (ln).
lit
          Lithuanian (lt).
ltz
           Luxembourgish (lb).
lub
          Luba-Katanga (lu).
lug
          Ganda (lg).
mac
          Macedonian (mk) for bibliographic applications.
mah
          Marshallese (mh).
mal
          Malayalam (ml).
mao
          Māori (mi) for bibliographic applications.
mar
          Marathi (mr).
may
          Malay (ms) for bibliographic applications.
mkd
          Macedonian (mk) for terminology applications.
mlg
          Malagasy (mg).
mlt
          Maltese (mt).
mon
          Mongolian (mn).
mri
          Māori (mi) for terminology applications.
msa
          Malay (ms) for terminology applications.
mya
          Burmese (my) for terminology applications.
nau
          Nauru (na).
nav
          Navajo (nv).
nbl
          Southern Ndebele (nr).
nde
          Northern Ndebele (nd).
ndo
          Ndonga (ng).
nep
          Nepali (ne).
nld
          Dutch (nl) for terminology applications.
nno
          Norwegian Nynorsk (nn).
nob
          Norwegian Bokmål (nb).
nor
          Norwegian (no).
nya
          Chichewa (ny).
oci
          Occitan (oc).
oji
          Ojibwe (oj).
ori
          Oriya (or).
orm
          Oromo (om).
oss
          Ossetian (os).
pan
          Punjabi (pa).
per
          Persian (fa) for bibliographic applications.
pli
          Pāli (pi).
pol
          Polish (pl).
por
          Portuguese (pt).
pus
          Pashto (ps).
que
          Quechua (qu).
roh
          Romansh (rm)
ron
          Romanian (ro) for terminology applications.
rum
          Romanian (ro) for bibliographic applications.
run
          Kirundi (rn).
rus
          Russian (ru).
sag
          Sango (sg).
san
          Sanskrit (sa).
sin
          Sinhala (si).
slk
          Slovak (sk) for terminology aplications.
slo
          Slovak (sk) for bibliographic aplications.
slv
          Slovene (sl).
sme
          Northern Sami (se).
smo
          Samoan (sm).
sna
          Shona (sn).
snd
          Sindhi (sd).
som
          Somali (so).
sot
          Southern Sotho (st).
spa
          Spanish (es).
sqi
          Albanian (sq) for terminology applications.
srd
          Sardinian (sc).
srp
          Serbian (sr).
ssw
          Swati (ss).
sun
          Sundanese (su).
swa
          Swahili (sw).
swe
          Swedish (sv).
tah
          Tahitian (ty).
tam
          Tamil (ta).
tat
          Tatar (tt).
tel
          Telugu (te).
tgk
          Tajik (tg).
tgl
          Tagalog (tl).
tha
          Thai (th).
tib
          Tibetan (bo) for terminology applications.
tir
          Tigrinya (ti).
ton
          Tongan (to).
tsn
          Tswana (tn).
tso
          Tsonga (ts).
tuk
          Turkmen (tk).
tur
          Turkish (tr).
twi
          Twi (tw).
uig
          Uighur (ug).
ukr
          Ukrainian (uk).
urd
          Urdu (ur).
uzb
          Uzbek (uz).
ven
          Venda (ve).
vie
          Vietnamese (vi).
vol
          Volapük (vo).
wel
          Welsh (cy) for bibliographic applications.
wln
          Walloon (wa).
wol
          Wolof (wo).
xho
          Xhosa (xh).
yid
          Yiddish (yi).
yor
          Yoruba (yo).
zha
          Zhuang (za).
zho
          Chinese (zh) for terminology applications.
zul
          Zulu (zu).
 
Method Summary
 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)
          Get a LanguageAlpha3Code that corresponds to a given ISO 639-1 code (2-letter lowercase code) or ISO 639-2 code (3-letter lowercase code).
static LanguageAlpha3Code getByCode(String code, boolean caseSensitive)
          Get a LanguageAlpha3Code that corresponds to a given ISO 639-1 code (2-letter lowercase code) or ISO 639-2 code (3-letter lowercase 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

aar

public static final LanguageAlpha3Code aar
Afar (aa).


abk

public static final LanguageAlpha3Code abk
Abkhaz (ab).


afr

public static final LanguageAlpha3Code afr
Afrikaans (af).


aka

public static final LanguageAlpha3Code aka
Akan (ak).


alb

public static final LanguageAlpha3Code alb
Albanian (sq) for bibliographic applications.

See Also:
sqi

amh

public static final LanguageAlpha3Code amh
Amharic (am).


ara

public static final LanguageAlpha3Code ara
Arabic (ar).


arg

public static final LanguageAlpha3Code arg
Aragonese (an).


arm

public static final LanguageAlpha3Code arm
Armenian (hy) for bibliographic applications.

See Also:
hye

asm

public static final LanguageAlpha3Code asm
Assamese (as).


ava

public static final LanguageAlpha3Code ava
Avaric (av).


ave

public static final LanguageAlpha3Code ave
Avestan (ae).


aym

public static final LanguageAlpha3Code aym
Aymara (ay).


aze

public static final LanguageAlpha3Code aze
Azerbaijani (az).


bak

public static final LanguageAlpha3Code bak
Bashkir (ba).


bam

public static final LanguageAlpha3Code bam
Bambara (bm).


baq

public static final LanguageAlpha3Code baq
Basque (eu) for bibliographic applications.

See Also:
eus

bel

public static final LanguageAlpha3Code bel
Belarusian (be).


ben

public static final LanguageAlpha3Code ben
Bengali (bn).


bih

public static final LanguageAlpha3Code bih
Bihari (bh).


bis

public static final LanguageAlpha3Code bis
Bislama (bi).


bod

public static final LanguageAlpha3Code bod
Tibetan (bo) for terminology applications.

See Also:
tib

bos

public static final LanguageAlpha3Code bos
Bosnian (bs).


bre

public static final LanguageAlpha3Code bre
Breton (br).


bul

public static final LanguageAlpha3Code bul
Bulgarian (bg).


bur

public static final LanguageAlpha3Code bur
Burmese (my) for bibliographic applications.

See Also:
mya

cat

public static final LanguageAlpha3Code cat
Catalan (ca).


ces

public static final LanguageAlpha3Code ces
Czech (cs) for terminology applications.

See Also:
cze

cha

public static final LanguageAlpha3Code cha
Chamorro (ch).


che

public static final LanguageAlpha3Code che
Chechen (ce).


chi

public static final LanguageAlpha3Code chi
Chinese (zh) for bibliographic applications.

See Also:
zho

chu

public static final LanguageAlpha3Code chu
Church Slavonic (cu).


chv

public static final LanguageAlpha3Code chv
Chuvash (cv).


cor

public static final LanguageAlpha3Code cor
Cornish (kw).


cos

public static final LanguageAlpha3Code cos
Corsican (co).


cre

public static final LanguageAlpha3Code cre
Cree (cr).


cym

public static final LanguageAlpha3Code cym
Welsh (cy) for terminology applications.

See Also:
wel

cze

public static final LanguageAlpha3Code cze
Czech (cs) for bibliographic applications.

See Also:
ces

dan

public static final LanguageAlpha3Code dan
Danish da).


deu

public static final LanguageAlpha3Code deu
German (de) for terminology applications.

See Also:
ger

div

public static final LanguageAlpha3Code div
Dhivehi (dv).


dut

public static final LanguageAlpha3Code dut
Dutch (nl) for bibliography applications.

See Also:
nld

dzo

public static final LanguageAlpha3Code dzo
Dzongkha (dz).


ell

public static final LanguageAlpha3Code ell
Greek (el) for terminology applications. #gre


eng

public static final LanguageAlpha3Code eng
English (en).


epo

public static final LanguageAlpha3Code epo
Esperanto (eo).


est

public static final LanguageAlpha3Code est
Estonian (et).


eus

public static final LanguageAlpha3Code eus
Basque (eu) for terminology applications.

See Also:
baq

ewe

public static final LanguageAlpha3Code ewe
Ewe (ee).


fao

public static final LanguageAlpha3Code fao
Faroese (fo).


fas

public static final LanguageAlpha3Code fas
Persian (fa) for terminology applications.

See Also:
per

fij

public static final LanguageAlpha3Code fij
Fijian (fj).


fin

public static final LanguageAlpha3Code fin
Finnish (fi).


fra

public static final LanguageAlpha3Code fra
French (fr) for terminology applications. #fre


fre

public static final LanguageAlpha3Code fre
French (fr) for bibliographic applications. #fra


fry

public static final LanguageAlpha3Code fry
West Frisian (fy).


ful

public static final LanguageAlpha3Code ful
Fula (ff).


geo

public static final LanguageAlpha3Code geo
Georgian (ka) for bibliographic applications.

See Also:
kat

ger

public static final LanguageAlpha3Code ger
German (de) for bibliographic applications.

See Also:
deu

gla

public static final LanguageAlpha3Code gla
Scottish Gaelic (gd).


gle

public static final LanguageAlpha3Code gle
Irish (ga).


glg

public static final LanguageAlpha3Code glg
Galician (gl).


glv

public static final LanguageAlpha3Code glv
Manx (gv).


gre

public static final LanguageAlpha3Code gre
Greek (el) for bibliographic applications. #ell


grn

public static final LanguageAlpha3Code grn
Guaraní ; (gn).


guj

public static final LanguageAlpha3Code guj
Gujarati (gu).


hat

public static final LanguageAlpha3Code hat
Haitian (ht).


hau

public static final LanguageAlpha3Code hau
Hausa (ha).


heb

public static final LanguageAlpha3Code heb
Hebrew (he).


her

public static final LanguageAlpha3Code her
Herero (hz).


hin

public static final LanguageAlpha3Code hin
Hindi (hi).


hmo

public static final LanguageAlpha3Code hmo
Hiri Motu (ho).


hrv

public static final LanguageAlpha3Code hrv
Croatian (hr).


hun

public static final LanguageAlpha3Code hun
Hungarian (hu).


hye

public static final LanguageAlpha3Code hye
Armenian (hy) for terminology applications.

See Also:
arm

ibo

public static final LanguageAlpha3Code ibo
Igbo (ig).


ice

public static final LanguageAlpha3Code ice
Icelandic (is) for biblioraphic applications.

See Also:
isl

ido

public static final LanguageAlpha3Code ido
Ido (io).


iii

public static final LanguageAlpha3Code iii
Nuosu (ii).


iku

public static final LanguageAlpha3Code iku
Inuktitut (iu).


ile

public static final LanguageAlpha3Code ile
Interlingue (ie).


ina

public static final LanguageAlpha3Code ina
Interlingua ia).


ind

public static final LanguageAlpha3Code ind
Indonesian (id).


ipk

public static final LanguageAlpha3Code ipk
Inupiaq (ik).


isl

public static final LanguageAlpha3Code isl
Icelandic (is) for terminology applications.

See Also:
ice

ita

public static final LanguageAlpha3Code ita
Italian (it).


jav

public static final LanguageAlpha3Code jav
Javanese (jv).


jpn

public static final LanguageAlpha3Code jpn
Japanese (ja).


kal

public static final LanguageAlpha3Code kal
Kalaallisut (kl).


kan

public static final LanguageAlpha3Code kan
Kannada (kn).


kas

public static final LanguageAlpha3Code kas
Kashmiri (ks).


kat

public static final LanguageAlpha3Code kat
Georgian (ka) for terminology applications.

See Also:
geo

kau

public static final LanguageAlpha3Code kau
Kanuri (kr).


kaz

public static final LanguageAlpha3Code kaz
Kazakh (kk).


khm

public static final LanguageAlpha3Code khm
Khmer (km).


kik

public static final LanguageAlpha3Code kik
Kikuyu (ki).


kin

public static final LanguageAlpha3Code kin
Kinyarwanda (rw).


kir

public static final LanguageAlpha3Code kir
Kyrgyz (ky).


kom

public static final LanguageAlpha3Code kom
Komi (kv).


kon

public static final LanguageAlpha3Code kon
Kongo (kg).


kor

public static final LanguageAlpha3Code kor
Korean (ko).


kua

public static final LanguageAlpha3Code kua
Kwanyama (kj).


kur

public static final LanguageAlpha3Code kur
Kurdish (ku).


lao

public static final LanguageAlpha3Code lao
Lao (lo).


lat

public static final LanguageAlpha3Code lat
Latin (la).


lav

public static final LanguageAlpha3Code lav
Latvian (lv).


lim

public static final LanguageAlpha3Code lim
Limburgish (li).


lin

public static final LanguageAlpha3Code lin
Lingala (ln).


lit

public static final LanguageAlpha3Code lit
Lithuanian (lt).


ltz

public static final LanguageAlpha3Code ltz
Luxembourgish (lb).


lub

public static final LanguageAlpha3Code lub
Luba-Katanga (lu).


lug

public static final LanguageAlpha3Code lug
Ganda (lg).


mac

public static final LanguageAlpha3Code mac
Macedonian (mk) for bibliographic applications.

See Also:
mkd

mah

public static final LanguageAlpha3Code mah
Marshallese (mh).


mal

public static final LanguageAlpha3Code mal
Malayalam (ml).


mao

public static final LanguageAlpha3Code mao
Māori (mi) for bibliographic applications.

See Also:
mri

mar

public static final LanguageAlpha3Code mar
Marathi (mr).


may

public static final LanguageAlpha3Code may
Malay (ms) for bibliographic applications.

See Also:
msa

mkd

public static final LanguageAlpha3Code mkd
Macedonian (mk) for terminology applications.

See Also:
mac

mlg

public static final LanguageAlpha3Code mlg
Malagasy (mg).


mlt

public static final LanguageAlpha3Code mlt
Maltese (mt).


mon

public static final LanguageAlpha3Code mon
Mongolian (mn).


mri

public static final LanguageAlpha3Code mri
Māori (mi) for terminology applications.

See Also:
mao

msa

public static final LanguageAlpha3Code msa
Malay (ms) for terminology applications.

See Also:
may

mya

public static final LanguageAlpha3Code mya
Burmese (my) for terminology applications.

See Also:
bur

nau

public static final LanguageAlpha3Code nau
Nauru (na).


nav

public static final LanguageAlpha3Code nav
Navajo (nv).


nbl

public static final LanguageAlpha3Code nbl
Southern Ndebele (nr).


nde

public static final LanguageAlpha3Code nde
Northern Ndebele (nd).


ndo

public static final LanguageAlpha3Code ndo
Ndonga (ng).


nep

public static final LanguageAlpha3Code nep
Nepali (ne).


nld

public static final LanguageAlpha3Code nld
Dutch (nl) for terminology applications.

See Also:
dut

nno

public static final LanguageAlpha3Code nno
Norwegian Nynorsk (nn).


nob

public static final LanguageAlpha3Code nob
Norwegian Bokmål (nb).


nor

public static final LanguageAlpha3Code nor
Norwegian (no).


nya

public static final LanguageAlpha3Code nya
Chichewa (ny).


oci

public static final LanguageAlpha3Code oci
Occitan (oc).


oji

public static final LanguageAlpha3Code oji
Ojibwe (oj).


ori

public static final LanguageAlpha3Code ori
Oriya (or).


orm

public static final LanguageAlpha3Code orm
Oromo (om).


oss

public static final LanguageAlpha3Code oss
Ossetian (os).


pan

public static final LanguageAlpha3Code pan
Punjabi (pa).


per

public static final LanguageAlpha3Code per
Persian (fa) for bibliographic applications.

See Also:
fas

pli

public static final LanguageAlpha3Code pli
Pāli (pi).


pol

public static final LanguageAlpha3Code pol
Polish (pl).


por

public static final LanguageAlpha3Code por
Portuguese (pt).


pus

public static final LanguageAlpha3Code pus
Pashto (ps).


que

public static final LanguageAlpha3Code que
Quechua (qu).


roh

public static final LanguageAlpha3Code roh
Romansh (rm)


ron

public static final LanguageAlpha3Code ron
Romanian (ro) for terminology applications.

See Also:
rum

rum

public static final LanguageAlpha3Code rum
Romanian (ro) for bibliographic applications.

See Also:
ron

run

public static final LanguageAlpha3Code run
Kirundi (rn).


rus

public static final LanguageAlpha3Code rus
Russian (ru).


sag

public static final LanguageAlpha3Code sag
Sango (sg).


san

public static final LanguageAlpha3Code san
Sanskrit (sa).


sin

public static final LanguageAlpha3Code sin
Sinhala (si).


slk

public static final LanguageAlpha3Code slk
Slovak (sk) for terminology aplications.

See Also:
slo

slo

public static final LanguageAlpha3Code slo
Slovak (sk) for bibliographic aplications.

See Also:
slk

slv

public static final LanguageAlpha3Code slv
Slovene (sl).


sme

public static final LanguageAlpha3Code sme
Northern Sami (se).


smo

public static final LanguageAlpha3Code smo
Samoan (sm).


sna

public static final LanguageAlpha3Code sna
Shona (sn).


snd

public static final LanguageAlpha3Code snd
Sindhi (sd).


som

public static final LanguageAlpha3Code som
Somali (so).


sot

public static final LanguageAlpha3Code sot
Southern Sotho (st).


spa

public static final LanguageAlpha3Code spa
Spanish (es).


sqi

public static final LanguageAlpha3Code sqi
Albanian (sq) for terminology applications.

See Also:
alb

srd

public static final LanguageAlpha3Code srd
Sardinian (sc).


srp

public static final LanguageAlpha3Code srp
Serbian (sr).


ssw

public static final LanguageAlpha3Code ssw
Swati (ss).


sun

public static final LanguageAlpha3Code sun
Sundanese (su).


swa

public static final LanguageAlpha3Code swa
Swahili (sw).


swe

public static final LanguageAlpha3Code swe
Swedish (sv).


tah

public static final LanguageAlpha3Code tah
Tahitian (ty).


tam

public static final LanguageAlpha3Code tam
Tamil (ta).


tat

public static final LanguageAlpha3Code tat
Tatar (tt).


tel

public static final LanguageAlpha3Code tel
Telugu (te).


tgk

public static final LanguageAlpha3Code tgk
Tajik (tg).


tgl

public static final LanguageAlpha3Code tgl
Tagalog (tl).


tha

public static final LanguageAlpha3Code tha
Thai (th).


tib

public static final LanguageAlpha3Code tib
Tibetan (bo) for terminology applications.

See Also:
bod

tir

public static final LanguageAlpha3Code tir
Tigrinya (ti).


ton

public static final LanguageAlpha3Code ton
Tongan (to).


tsn

public static final LanguageAlpha3Code tsn
Tswana (tn).


tso

public static final LanguageAlpha3Code tso
Tsonga (ts).


tuk

public static final LanguageAlpha3Code tuk
Turkmen (tk).


tur

public static final LanguageAlpha3Code tur
Turkish (tr).


twi

public static final LanguageAlpha3Code twi
Twi (tw).


uig

public static final LanguageAlpha3Code uig
Uighur (ug).


ukr

public static final LanguageAlpha3Code ukr
Ukrainian (uk).


urd

public static final LanguageAlpha3Code urd
Urdu (ur).


uzb

public static final LanguageAlpha3Code uzb
Uzbek (uz).


ven

public static final LanguageAlpha3Code ven
Venda (ve).


vie

public static final LanguageAlpha3Code vie
Vietnamese (vi).


vol

public static final LanguageAlpha3Code vol
Volapük (vo).


wel

public static final LanguageAlpha3Code wel
Welsh (cy) for bibliographic applications.

See Also:
cym

wln

public static final LanguageAlpha3Code wln
Walloon (wa).


wol

public static final LanguageAlpha3Code wol
Wolof (wo).


xho

public static final LanguageAlpha3Code xho
Xhosa (xh).


yid

public static final LanguageAlpha3Code yid
Yiddish (yi).


yor

public static final LanguageAlpha3Code yor
Yoruba (yo).


zha

public static final LanguageAlpha3Code zha
Zhuang (za).


zho

public static final LanguageAlpha3Code zho
Chinese (zh) for terminology applications.

See Also:
chi

zul

public static final LanguageAlpha3Code zul
Zulu (zu).

Method Detail

values

public static LanguageAlpha3Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LanguageAlpha3Code c : LanguageAlpha3Code.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LanguageAlpha3Code valueOf(String name)
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 name
NullPointerException - if the argument is null

getName

public String getName()
Get the language name.

Returns:
The language name.

getAlpha2

public LanguageCode getAlpha2()
Get ISO 639-1 language code.

Returns:
ISO 639-1 language code. This method may return null.

getUsage

public LanguageAlpha3Code.Usage getUsage()
Get the usage of this language code.

Most language codes return Usage.COMMON.

Returns:
The usage of this language code.

getSynonym

public LanguageAlpha3Code getSynonym()
Get the synonym of this code.

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.

Returns:
ISO 639-2 language code.

getAlpha3B

public LanguageAlpha3Code getAlpha3B()
Get the bibliographic code of this language.

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 returns LanguageAlpha3Code.fre.

Returns:
The bibliographic code of this language.

getAlpha3T

public LanguageAlpha3Code getAlpha3T()
Get the terminological code of this language.

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 returns LanguageAlpha3Code.fra.

Returns:
The terminological code of this language.

getByCode

public static LanguageAlpha3Code getByCode(String code)
Get a 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), meaning the case of the given code is ignored.

Parameters:
code - An ISO 639-1 code (2-letter lowercase code) or an ISO 639-2 code (3-letter lowercase code). 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.
Returns:
A 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.

getByCode

public static LanguageAlpha3Code getByCode(String code,
                                           boolean caseSensitive)
Get a LanguageAlpha3Code that corresponds to a given ISO 639-1 code (2-letter lowercase code) or ISO 639-2 code (3-letter lowercase code).

Parameters:
code - An ISO 639-1 code (2-letter lowercase code) or an ISO 639-2 code (3-letter lowercase code). 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.
Returns:
A 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.


Copyright © 2013. All Rights Reserved.