Class ISO3166_1Alpha3CountryCode
java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.openid.connect.sdk.assurance.claims.CountryCode
com.nimbusds.openid.connect.sdk.assurance.claims.ISO3166_1AlphaCountryCode
com.nimbusds.openid.connect.sdk.assurance.claims.ISO3166_1Alpha3CountryCode
- All Implemented Interfaces:
Serializable
,Comparable<Identifier>
,net.minidev.json.JSONAware
ISO 3166-1 alpha-3 (three-letter) country code.
Includes constants for all 249 current officially assigned ISO 3166-1 alpha-3 codes.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ISO3166_1Alpha3CountryCode
Arubastatic final ISO3166_1Alpha3CountryCode
Afghanistanstatic final ISO3166_1Alpha3CountryCode
Angolastatic final ISO3166_1Alpha3CountryCode
Anguillastatic final ISO3166_1Alpha3CountryCode
Åland Islandsstatic final ISO3166_1Alpha3CountryCode
Albaniastatic final ISO3166_1Alpha3CountryCode
Andorrastatic final ISO3166_1Alpha3CountryCode
United Arab Emiratesstatic final ISO3166_1Alpha3CountryCode
Argentinastatic final ISO3166_1Alpha3CountryCode
Armeniastatic final ISO3166_1Alpha3CountryCode
American Samoastatic final ISO3166_1Alpha3CountryCode
Antarcticastatic final ISO3166_1Alpha3CountryCode
French Southern Territoriesstatic final ISO3166_1Alpha3CountryCode
Antigua and Barbudastatic final ISO3166_1Alpha3CountryCode
Australiastatic final ISO3166_1Alpha3CountryCode
Austriastatic final ISO3166_1Alpha3CountryCode
Azerbaijanstatic final ISO3166_1Alpha3CountryCode
Burundistatic final ISO3166_1Alpha3CountryCode
Belgiumstatic final ISO3166_1Alpha3CountryCode
Beninstatic final ISO3166_1Alpha3CountryCode
Bonaire, Sint Eustatius and Sabastatic final ISO3166_1Alpha3CountryCode
Burkina Fasostatic final ISO3166_1Alpha3CountryCode
Bangladeshstatic final ISO3166_1Alpha3CountryCode
Bulgariastatic final ISO3166_1Alpha3CountryCode
Bahrainstatic final ISO3166_1Alpha3CountryCode
Bahamasstatic final ISO3166_1Alpha3CountryCode
Bosnia and Herzegovinastatic final ISO3166_1Alpha3CountryCode
Saint Barthélemystatic final ISO3166_1Alpha3CountryCode
Belarusstatic final ISO3166_1Alpha3CountryCode
Belizestatic final ISO3166_1Alpha3CountryCode
Bermudastatic final ISO3166_1Alpha3CountryCode
Bolivia (Plurinational State of)static final ISO3166_1Alpha3CountryCode
Brazilstatic final ISO3166_1Alpha3CountryCode
Barbadosstatic final ISO3166_1Alpha3CountryCode
Brunei Darussalamstatic final ISO3166_1Alpha3CountryCode
Bhutanstatic final ISO3166_1Alpha3CountryCode
Bouvet Islandstatic final ISO3166_1Alpha3CountryCode
Botswanastatic final ISO3166_1Alpha3CountryCode
Central African Republicstatic final ISO3166_1Alpha3CountryCode
Canadastatic final ISO3166_1Alpha3CountryCode
Cocos (Keeling) Islandsstatic final ISO3166_1Alpha3CountryCode
Switzerlandstatic final ISO3166_1Alpha3CountryCode
Chilestatic final ISO3166_1Alpha3CountryCode
Chinastatic final ISO3166_1Alpha3CountryCode
Côte d'Ivoirestatic final ISO3166_1Alpha3CountryCode
Cameroonstatic final ISO3166_1Alpha3CountryCode
Congo, Democratic Republic of thestatic final ISO3166_1Alpha3CountryCode
Congostatic final ISO3166_1Alpha3CountryCode
Cook Islandsstatic final ISO3166_1Alpha3CountryCode
Colombiastatic final ISO3166_1Alpha3CountryCode
Comorosstatic final ISO3166_1Alpha3CountryCode
Cabo Verdestatic final ISO3166_1Alpha3CountryCode
Costa Ricastatic final ISO3166_1Alpha3CountryCode
Cubastatic final ISO3166_1Alpha3CountryCode
Curaçaostatic final ISO3166_1Alpha3CountryCode
Christmas Islandstatic final ISO3166_1Alpha3CountryCode
Cayman Islandsstatic final ISO3166_1Alpha3CountryCode
Cyprusstatic final ISO3166_1Alpha3CountryCode
Czechiastatic final ISO3166_1Alpha3CountryCode
Germanystatic final ISO3166_1Alpha3CountryCode
Djiboutistatic final ISO3166_1Alpha3CountryCode
Dominicastatic final ISO3166_1Alpha3CountryCode
Denmarkstatic final ISO3166_1Alpha3CountryCode
Dominican Republicstatic final ISO3166_1Alpha3CountryCode
Algeriastatic final ISO3166_1Alpha3CountryCode
Ecuadorstatic final ISO3166_1Alpha3CountryCode
Egyptstatic final ISO3166_1Alpha3CountryCode
Eritreastatic final ISO3166_1Alpha3CountryCode
Western Saharastatic final ISO3166_1Alpha3CountryCode
Spainstatic final ISO3166_1Alpha3CountryCode
Estoniastatic final ISO3166_1Alpha3CountryCode
Ethiopiastatic final ISO3166_1Alpha3CountryCode
Finlandstatic final ISO3166_1Alpha3CountryCode
Fijistatic final ISO3166_1Alpha3CountryCode
Falkland Islands (Malvinas)static final ISO3166_1Alpha3CountryCode
Francestatic final ISO3166_1Alpha3CountryCode
Faroe Islandsstatic final ISO3166_1Alpha3CountryCode
Micronesia (Federated States of)static final ISO3166_1Alpha3CountryCode
Gabonstatic final ISO3166_1Alpha3CountryCode
United Kingdom of Great Britain and Northern Irelandstatic final ISO3166_1Alpha3CountryCode
Georgiastatic final ISO3166_1Alpha3CountryCode
Guernseystatic final ISO3166_1Alpha3CountryCode
Ghanastatic final ISO3166_1Alpha3CountryCode
Gibraltarstatic final ISO3166_1Alpha3CountryCode
Guineastatic final ISO3166_1Alpha3CountryCode
Guadeloupestatic final ISO3166_1Alpha3CountryCode
Gambiastatic final ISO3166_1Alpha3CountryCode
Guinea-Bissaustatic final ISO3166_1Alpha3CountryCode
Equatorial Guineastatic final ISO3166_1Alpha3CountryCode
Greecestatic final ISO3166_1Alpha3CountryCode
Grenadastatic final ISO3166_1Alpha3CountryCode
Greenlandstatic final ISO3166_1Alpha3CountryCode
Guatemalastatic final ISO3166_1Alpha3CountryCode
French Guianastatic final ISO3166_1Alpha3CountryCode
Guamstatic final ISO3166_1Alpha3CountryCode
Guyanastatic final ISO3166_1Alpha3CountryCode
Hong Kongstatic final ISO3166_1Alpha3CountryCode
Heard Island and McDonald Islandsstatic final ISO3166_1Alpha3CountryCode
Hondurasstatic final ISO3166_1Alpha3CountryCode
Croatiastatic final ISO3166_1Alpha3CountryCode
Haitistatic final ISO3166_1Alpha3CountryCode
Hungarystatic final ISO3166_1Alpha3CountryCode
Indonesiastatic final ISO3166_1Alpha3CountryCode
Isle of Manstatic final ISO3166_1Alpha3CountryCode
Indiastatic final ISO3166_1Alpha3CountryCode
British Indian Ocean Territorystatic final ISO3166_1Alpha3CountryCode
Irelandstatic final ISO3166_1Alpha3CountryCode
Iran (Islamic Republic of)static final ISO3166_1Alpha3CountryCode
Iraqstatic final ISO3166_1Alpha3CountryCode
Icelandstatic final ISO3166_1Alpha3CountryCode
Israelstatic final ISO3166_1Alpha3CountryCode
Italystatic final ISO3166_1Alpha3CountryCode
Jamaicastatic final ISO3166_1Alpha3CountryCode
Jerseystatic final ISO3166_1Alpha3CountryCode
Jordanstatic final ISO3166_1Alpha3CountryCode
Japanstatic final ISO3166_1Alpha3CountryCode
Kazakhstanstatic final ISO3166_1Alpha3CountryCode
Kenyastatic final ISO3166_1Alpha3CountryCode
Kyrgyzstanstatic final ISO3166_1Alpha3CountryCode
Cambodiastatic final ISO3166_1Alpha3CountryCode
Kiribatistatic final ISO3166_1Alpha3CountryCode
Saint Kitts and Nevisstatic final ISO3166_1Alpha3CountryCode
Korea, Republic ofstatic final ISO3166_1Alpha3CountryCode
Kuwaitstatic final ISO3166_1Alpha3CountryCode
Lao People's Democratic Republicstatic final ISO3166_1Alpha3CountryCode
Lebanonstatic final ISO3166_1Alpha3CountryCode
Liberiastatic final ISO3166_1Alpha3CountryCode
Libyastatic final ISO3166_1Alpha3CountryCode
Saint Luciastatic final ISO3166_1Alpha3CountryCode
Liechtensteinstatic final ISO3166_1Alpha3CountryCode
Sri Lankastatic final ISO3166_1Alpha3CountryCode
Lesothostatic final ISO3166_1Alpha3CountryCode
Lithuaniastatic final ISO3166_1Alpha3CountryCode
Luxembourgstatic final ISO3166_1Alpha3CountryCode
Latviastatic final ISO3166_1Alpha3CountryCode
Macaostatic final ISO3166_1Alpha3CountryCode
Saint Martin (French part)static final ISO3166_1Alpha3CountryCode
Moroccostatic final ISO3166_1Alpha3CountryCode
Monacostatic final ISO3166_1Alpha3CountryCode
Moldova, Republic ofstatic final ISO3166_1Alpha3CountryCode
Madagascarstatic final ISO3166_1Alpha3CountryCode
Maldivesstatic final ISO3166_1Alpha3CountryCode
Mexicostatic final ISO3166_1Alpha3CountryCode
Marshall Islandsstatic final ISO3166_1Alpha3CountryCode
North Macedoniastatic final ISO3166_1Alpha3CountryCode
Malistatic final ISO3166_1Alpha3CountryCode
Maltastatic final ISO3166_1Alpha3CountryCode
Myanmarstatic final ISO3166_1Alpha3CountryCode
Montenegrostatic final ISO3166_1Alpha3CountryCode
Mongoliastatic final ISO3166_1Alpha3CountryCode
Northern Mariana Islandsstatic final ISO3166_1Alpha3CountryCode
Mozambiquestatic final ISO3166_1Alpha3CountryCode
Mauritaniastatic final ISO3166_1Alpha3CountryCode
Montserratstatic final ISO3166_1Alpha3CountryCode
Martiniquestatic final ISO3166_1Alpha3CountryCode
Mauritiusstatic final ISO3166_1Alpha3CountryCode
Malawistatic final ISO3166_1Alpha3CountryCode
Malaysiastatic final ISO3166_1Alpha3CountryCode
Mayottestatic final ISO3166_1Alpha3CountryCode
Namibiastatic final ISO3166_1Alpha3CountryCode
New Caledoniastatic final ISO3166_1Alpha3CountryCode
Nigerstatic final ISO3166_1Alpha3CountryCode
Norfolk Islandstatic final ISO3166_1Alpha3CountryCode
Nigeriastatic final ISO3166_1Alpha3CountryCode
Nicaraguastatic final ISO3166_1Alpha3CountryCode
Niuestatic final ISO3166_1Alpha3CountryCode
Netherlandsstatic final ISO3166_1Alpha3CountryCode
Norwaystatic final ISO3166_1Alpha3CountryCode
Nepalstatic final ISO3166_1Alpha3CountryCode
Naurustatic final ISO3166_1Alpha3CountryCode
New Zealandstatic final ISO3166_1Alpha3CountryCode
Omanstatic final ISO3166_1Alpha3CountryCode
Pakistanstatic final ISO3166_1Alpha3CountryCode
Panamastatic final ISO3166_1Alpha3CountryCode
Pitcairnstatic final ISO3166_1Alpha3CountryCode
Perustatic final ISO3166_1Alpha3CountryCode
Philippinesstatic final ISO3166_1Alpha3CountryCode
Palaustatic final ISO3166_1Alpha3CountryCode
Papua New Guineastatic final ISO3166_1Alpha3CountryCode
Polandstatic final ISO3166_1Alpha3CountryCode
Puerto Ricostatic final ISO3166_1Alpha3CountryCode
Korea (Democratic People's Republic of)static final ISO3166_1Alpha3CountryCode
Portugalstatic final ISO3166_1Alpha3CountryCode
Paraguaystatic final ISO3166_1Alpha3CountryCode
Palestine, State ofstatic final ISO3166_1Alpha3CountryCode
French Polynesiastatic final ISO3166_1Alpha3CountryCode
Qatarstatic final ISO3166_1Alpha3CountryCode
Réunionstatic final ISO3166_1Alpha3CountryCode
Romaniastatic final ISO3166_1Alpha3CountryCode
Russian Federationstatic final ISO3166_1Alpha3CountryCode
Rwandastatic final ISO3166_1Alpha3CountryCode
Saudi Arabiastatic final ISO3166_1Alpha3CountryCode
Sudanstatic final ISO3166_1Alpha3CountryCode
Senegalstatic final ISO3166_1Alpha3CountryCode
Singaporestatic final ISO3166_1Alpha3CountryCode
South Georgia and the South Sandwich Islandsstatic final ISO3166_1Alpha3CountryCode
Saint Helena, Ascension and Tristan da Cunhastatic final ISO3166_1Alpha3CountryCode
Svalbard and Jan Mayenstatic final ISO3166_1Alpha3CountryCode
Solomon Islandsstatic final ISO3166_1Alpha3CountryCode
Sierra Leonestatic final ISO3166_1Alpha3CountryCode
El Salvadorstatic final ISO3166_1Alpha3CountryCode
San Marinostatic final ISO3166_1Alpha3CountryCode
Somaliastatic final ISO3166_1Alpha3CountryCode
Saint Pierre and Miquelonstatic final ISO3166_1Alpha3CountryCode
Serbiastatic final ISO3166_1Alpha3CountryCode
South Sudanstatic final ISO3166_1Alpha3CountryCode
Sao Tome and Principestatic final ISO3166_1Alpha3CountryCode
Surinamestatic final ISO3166_1Alpha3CountryCode
Slovakiastatic final ISO3166_1Alpha3CountryCode
Sloveniastatic final ISO3166_1Alpha3CountryCode
Swedenstatic final ISO3166_1Alpha3CountryCode
Eswatinistatic final ISO3166_1Alpha3CountryCode
Sint Maarten (Dutch part)static final ISO3166_1Alpha3CountryCode
Seychellesstatic final ISO3166_1Alpha3CountryCode
Syrian Arab Republicstatic final ISO3166_1Alpha3CountryCode
Turks and Caicos Islandsstatic final ISO3166_1Alpha3CountryCode
Chadstatic final ISO3166_1Alpha3CountryCode
Togostatic final ISO3166_1Alpha3CountryCode
Thailandstatic final ISO3166_1Alpha3CountryCode
Tajikistanstatic final ISO3166_1Alpha3CountryCode
Tokelaustatic final ISO3166_1Alpha3CountryCode
Turkmenistanstatic final ISO3166_1Alpha3CountryCode
Timor-Lestestatic final ISO3166_1Alpha3CountryCode
Tongastatic final ISO3166_1Alpha3CountryCode
Trinidad and Tobagostatic final ISO3166_1Alpha3CountryCode
Tunisiastatic final ISO3166_1Alpha3CountryCode
Turkeystatic final ISO3166_1Alpha3CountryCode
Tuvalustatic final ISO3166_1Alpha3CountryCode
Taiwan, Province of Chinastatic final ISO3166_1Alpha3CountryCode
Tanzania, United Republic ofstatic final ISO3166_1Alpha3CountryCode
Ugandastatic final ISO3166_1Alpha3CountryCode
Ukrainestatic final ISO3166_1Alpha3CountryCode
United States Minor Outlying Islandsstatic final ISO3166_1Alpha3CountryCode
Uruguaystatic final ISO3166_1Alpha3CountryCode
United States of Americastatic final ISO3166_1Alpha3CountryCode
Uzbekistanstatic final ISO3166_1Alpha3CountryCode
Holy Seestatic final ISO3166_1Alpha3CountryCode
Saint Vincent and the Grenadinesstatic final ISO3166_1Alpha3CountryCode
Venezuela (Bolivarian Republic of)static final ISO3166_1Alpha3CountryCode
Virgin Islands (British)static final ISO3166_1Alpha3CountryCode
Virgin Islands (U.S.)static final ISO3166_1Alpha3CountryCode
Viet Namstatic final ISO3166_1Alpha3CountryCode
Vanuatustatic final ISO3166_1Alpha3CountryCode
Wallis and Futunastatic final ISO3166_1Alpha3CountryCode
Samoastatic final ISO3166_1Alpha3CountryCode
Yemenstatic final ISO3166_1Alpha3CountryCode
South Africastatic final ISO3166_1Alpha3CountryCode
Zambiastatic final ISO3166_1Alpha3CountryCode
ZimbabweFields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
Constructor Summary
ConstructorDescriptionISO3166_1Alpha3CountryCode
(String value) Creates a new ISO 3166-1 alpha-3 country code. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the country name if available in theiso3166_1alpha3-codes.properties
resource.static ISO3166_1Alpha3CountryCode
Parses an ISO 3166-1 alpha-3 (three-letter) country code.Returns the matching alpha-2 country code.Methods inherited from class com.nimbusds.openid.connect.sdk.assurance.claims.CountryCode
length, toISO3166_1Alpha2CountryCode, toISO3166_1Alpha3CountryCode, toISO3166_3CountryCode
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, getValue, hashCode, toJSONString, toString, toStringList
-
Field Details
-
ABW
Aruba -
AFG
Afghanistan -
AGO
Angola -
AIA
Anguilla -
ALA
Åland Islands -
ALB
Albania -
AND
Andorra -
ARE
United Arab Emirates -
ARG
Argentina -
ARM
Armenia -
ASM
American Samoa -
ATA
Antarctica -
ATF
French Southern Territories -
ATG
Antigua and Barbuda -
AUS
Australia -
AUT
Austria -
AZE
Azerbaijan -
BDI
Burundi -
BEL
Belgium -
BEN
Benin -
BES
Bonaire, Sint Eustatius and Saba -
BFA
Burkina Faso -
BGD
Bangladesh -
BGR
Bulgaria -
BHR
Bahrain -
BHS
Bahamas -
BIH
Bosnia and Herzegovina -
BLM
Saint Barthélemy -
BLR
Belarus -
BLZ
Belize -
BMU
Bermuda -
BOL
Bolivia (Plurinational State of) -
BRA
Brazil -
BRB
Barbados -
BRN
Brunei Darussalam -
BTN
Bhutan -
BVT
Bouvet Island -
BWA
Botswana -
CAF
Central African Republic -
CAN
Canada -
CCK
Cocos (Keeling) Islands -
CHE
Switzerland -
CHL
Chile -
CHN
China -
CIV
Côte d'Ivoire -
CMR
Cameroon -
COD
Congo, Democratic Republic of the -
COG
Congo -
COK
Cook Islands -
COL
Colombia -
COM
Comoros -
CPV
Cabo Verde -
CRI
Costa Rica -
CUB
Cuba -
CUW
Curaçao -
CXR
Christmas Island -
CYM
Cayman Islands -
CYP
Cyprus -
CZE
Czechia -
DEU
Germany -
DJI
Djibouti -
DMA
Dominica -
DNK
Denmark -
DOM
Dominican Republic -
DZA
Algeria -
ECU
Ecuador -
EGY
Egypt -
ERI
Eritrea -
ESH
Western Sahara -
ESP
Spain -
EST
Estonia -
ETH
Ethiopia -
FIN
Finland -
FJI
Fiji -
FLK
Falkland Islands (Malvinas) -
FRA
France -
FRO
Faroe Islands -
FSM
Micronesia (Federated States of) -
GAB
Gabon -
GBR
United Kingdom of Great Britain and Northern Ireland -
GEO
Georgia -
GGY
Guernsey -
GHA
Ghana -
GIB
Gibraltar -
GIN
Guinea -
GLP
Guadeloupe -
GMB
Gambia -
GNB
Guinea-Bissau -
GNQ
Equatorial Guinea -
GRC
Greece -
GRD
Grenada -
GRL
Greenland -
GTM
Guatemala -
GUF
French Guiana -
GUM
Guam -
GUY
Guyana -
HKG
Hong Kong -
HMD
Heard Island and McDonald Islands -
HND
Honduras -
HRV
Croatia -
HTI
Haiti -
HUN
Hungary -
IDN
Indonesia -
IMN
Isle of Man -
IND
India -
IOT
British Indian Ocean Territory -
IRL
Ireland -
IRN
Iran (Islamic Republic of) -
IRQ
Iraq -
ISL
Iceland -
ISR
Israel -
ITA
Italy -
JAM
Jamaica -
JEY
Jersey -
JOR
Jordan -
JPN
Japan -
KAZ
Kazakhstan -
KEN
Kenya -
KGZ
Kyrgyzstan -
KHM
Cambodia -
KIR
Kiribati -
KNA
Saint Kitts and Nevis -
KOR
Korea, Republic of -
KWT
Kuwait -
LAO
Lao People's Democratic Republic -
LBN
Lebanon -
LBR
Liberia -
LBY
Libya -
LCA
Saint Lucia -
LIE
Liechtenstein -
LKA
Sri Lanka -
LSO
Lesotho -
LTU
Lithuania -
LUX
Luxembourg -
LVA
Latvia -
MAC
Macao -
MAF
Saint Martin (French part) -
MAR
Morocco -
MCO
Monaco -
MDA
Moldova, Republic of -
MDG
Madagascar -
MDV
Maldives -
MEX
Mexico -
MHL
Marshall Islands -
MKD
North Macedonia -
MLI
Mali -
MLT
Malta -
MMR
Myanmar -
MNE
Montenegro -
MNG
Mongolia -
MNP
Northern Mariana Islands -
MOZ
Mozambique -
MRT
Mauritania -
MSR
Montserrat -
MTQ
Martinique -
MUS
Mauritius -
MWI
Malawi -
MYS
Malaysia -
MYT
Mayotte -
NAM
Namibia -
NCL
New Caledonia -
NER
Niger -
NFK
Norfolk Island -
NGA
Nigeria -
NIC
Nicaragua -
NIU
Niue -
NLD
Netherlands -
NOR
Norway -
NPL
Nepal -
NRU
Nauru -
NZL
New Zealand -
OMN
Oman -
PAK
Pakistan -
PAN
Panama -
PCN
Pitcairn -
PER
Peru -
PHL
Philippines -
PLW
Palau -
PNG
Papua New Guinea -
POL
Poland -
PRI
Puerto Rico -
PRK
Korea (Democratic People's Republic of) -
PRT
Portugal -
PRY
Paraguay -
PSE
Palestine, State of -
PYF
French Polynesia -
QAT
Qatar -
REU
Réunion -
ROU
Romania -
RUS
Russian Federation -
RWA
Rwanda -
SAU
Saudi Arabia -
SDN
Sudan -
SEN
Senegal -
SGP
Singapore -
SGS
South Georgia and the South Sandwich Islands -
SHN
Saint Helena, Ascension and Tristan da Cunha -
SJM
Svalbard and Jan Mayen -
SLB
Solomon Islands -
SLE
Sierra Leone -
SLV
El Salvador -
SMR
San Marino -
SOM
Somalia -
SPM
Saint Pierre and Miquelon -
SRB
Serbia -
SSD
South Sudan -
STP
Sao Tome and Principe -
SUR
Suriname -
SVK
Slovakia -
SVN
Slovenia -
SWE
Sweden -
SWZ
Eswatini -
SXM
Sint Maarten (Dutch part) -
SYC
Seychelles -
SYR
Syrian Arab Republic -
TCA
Turks and Caicos Islands -
TCD
Chad -
TGO
Togo -
THA
Thailand -
TJK
Tajikistan -
TKL
Tokelau -
TKM
Turkmenistan -
TLS
Timor-Leste -
TON
Tonga -
TTO
Trinidad and Tobago -
TUN
Tunisia -
TUR
Turkey -
TUV
Tuvalu -
TWN
Taiwan, Province of China -
TZA
Tanzania, United Republic of -
UGA
Uganda -
UKR
Ukraine -
UMI
United States Minor Outlying Islands -
URY
Uruguay -
USA
United States of America -
UZB
Uzbekistan -
VAT
Holy See -
VCT
Saint Vincent and the Grenadines -
VEN
Venezuela (Bolivarian Republic of) -
VGB
Virgin Islands (British) -
VIR
Virgin Islands (U.S.) -
VNM
Viet Nam -
VUT
Vanuatu -
WLF
Wallis and Futuna -
WSM
Samoa -
YEM
Yemen -
ZAF
South Africa -
ZMB
Zambia -
ZWE
Zimbabwe
-
-
Constructor Details
-
ISO3166_1Alpha3CountryCode
Creates a new ISO 3166-1 alpha-3 country code. Normalises the code to upper case.- Parameters:
value
- The country code value, must be three-letter.
-
-
Method Details
-
toAlpha2CountryCode
Returns the matching alpha-2 country code. SeeISO3166_1AlphaCountryCodeMapper
.- Returns:
- The matching alpha-2 country code,
null
if none.
-
getCountryName
Returns the country name if available in theiso3166_1alpha3-codes.properties
resource.- Specified by:
getCountryName
in classISO3166_1AlphaCountryCode
- Returns:
- The country name,
null
if not available.
-
equals
- Specified by:
equals
in classCountryCode
-
parse
Parses an ISO 3166-1 alpha-3 (three-letter) country code.- Parameters:
s
- The string to parse. Must not benull
.- Returns:
- The ISO 3166-1 alpha-3 (three-letter) country code.
- Throws:
ParseException
- If parsing failed.
-