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
FieldsModifier and TypeFieldDescriptionstatic final ISO3166_1Alpha3CountryCodeArubastatic final ISO3166_1Alpha3CountryCodeAfghanistanstatic final ISO3166_1Alpha3CountryCodeAngolastatic final ISO3166_1Alpha3CountryCodeAnguillastatic final ISO3166_1Alpha3CountryCodeÅland Islandsstatic final ISO3166_1Alpha3CountryCodeAlbaniastatic final ISO3166_1Alpha3CountryCodeAndorrastatic final ISO3166_1Alpha3CountryCodeUnited Arab Emiratesstatic final ISO3166_1Alpha3CountryCodeArgentinastatic final ISO3166_1Alpha3CountryCodeArmeniastatic final ISO3166_1Alpha3CountryCodeAmerican Samoastatic final ISO3166_1Alpha3CountryCodeAntarcticastatic final ISO3166_1Alpha3CountryCodeFrench Southern Territoriesstatic final ISO3166_1Alpha3CountryCodeAntigua and Barbudastatic final ISO3166_1Alpha3CountryCodeAustraliastatic final ISO3166_1Alpha3CountryCodeAustriastatic final ISO3166_1Alpha3CountryCodeAzerbaijanstatic final ISO3166_1Alpha3CountryCodeBurundistatic final ISO3166_1Alpha3CountryCodeBelgiumstatic final ISO3166_1Alpha3CountryCodeBeninstatic final ISO3166_1Alpha3CountryCodeBonaire, Sint Eustatius and Sabastatic final ISO3166_1Alpha3CountryCodeBurkina Fasostatic final ISO3166_1Alpha3CountryCodeBangladeshstatic final ISO3166_1Alpha3CountryCodeBulgariastatic final ISO3166_1Alpha3CountryCodeBahrainstatic final ISO3166_1Alpha3CountryCodeBahamasstatic final ISO3166_1Alpha3CountryCodeBosnia and Herzegovinastatic final ISO3166_1Alpha3CountryCodeSaint Barthélemystatic final ISO3166_1Alpha3CountryCodeBelarusstatic final ISO3166_1Alpha3CountryCodeBelizestatic final ISO3166_1Alpha3CountryCodeBermudastatic final ISO3166_1Alpha3CountryCodeBolivia (Plurinational State of)static final ISO3166_1Alpha3CountryCodeBrazilstatic final ISO3166_1Alpha3CountryCodeBarbadosstatic final ISO3166_1Alpha3CountryCodeBrunei Darussalamstatic final ISO3166_1Alpha3CountryCodeBhutanstatic final ISO3166_1Alpha3CountryCodeBouvet Islandstatic final ISO3166_1Alpha3CountryCodeBotswanastatic final ISO3166_1Alpha3CountryCodeCentral African Republicstatic final ISO3166_1Alpha3CountryCodeCanadastatic final ISO3166_1Alpha3CountryCodeCocos (Keeling) Islandsstatic final ISO3166_1Alpha3CountryCodeSwitzerlandstatic final ISO3166_1Alpha3CountryCodeChilestatic final ISO3166_1Alpha3CountryCodeChinastatic final ISO3166_1Alpha3CountryCodeCôte d'Ivoirestatic final ISO3166_1Alpha3CountryCodeCameroonstatic final ISO3166_1Alpha3CountryCodeCongo, Democratic Republic of thestatic final ISO3166_1Alpha3CountryCodeCongostatic final ISO3166_1Alpha3CountryCodeCook Islandsstatic final ISO3166_1Alpha3CountryCodeColombiastatic final ISO3166_1Alpha3CountryCodeComorosstatic final ISO3166_1Alpha3CountryCodeCabo Verdestatic final ISO3166_1Alpha3CountryCodeCosta Ricastatic final ISO3166_1Alpha3CountryCodeCubastatic final ISO3166_1Alpha3CountryCodeCuraçaostatic final ISO3166_1Alpha3CountryCodeChristmas Islandstatic final ISO3166_1Alpha3CountryCodeCayman Islandsstatic final ISO3166_1Alpha3CountryCodeCyprusstatic final ISO3166_1Alpha3CountryCodeCzechiastatic final ISO3166_1Alpha3CountryCodeGermanystatic final ISO3166_1Alpha3CountryCodeDjiboutistatic final ISO3166_1Alpha3CountryCodeDominicastatic final ISO3166_1Alpha3CountryCodeDenmarkstatic final ISO3166_1Alpha3CountryCodeDominican Republicstatic final ISO3166_1Alpha3CountryCodeAlgeriastatic final ISO3166_1Alpha3CountryCodeEcuadorstatic final ISO3166_1Alpha3CountryCodeEgyptstatic final ISO3166_1Alpha3CountryCodeEritreastatic final ISO3166_1Alpha3CountryCodeWestern Saharastatic final ISO3166_1Alpha3CountryCodeSpainstatic final ISO3166_1Alpha3CountryCodeEstoniastatic final ISO3166_1Alpha3CountryCodeEthiopiastatic final ISO3166_1Alpha3CountryCodeFinlandstatic final ISO3166_1Alpha3CountryCodeFijistatic final ISO3166_1Alpha3CountryCodeFalkland Islands (Malvinas)static final ISO3166_1Alpha3CountryCodeFrancestatic final ISO3166_1Alpha3CountryCodeFaroe Islandsstatic final ISO3166_1Alpha3CountryCodeMicronesia (Federated States of)static final ISO3166_1Alpha3CountryCodeGabonstatic final ISO3166_1Alpha3CountryCodeUnited Kingdom of Great Britain and Northern Irelandstatic final ISO3166_1Alpha3CountryCodeGeorgiastatic final ISO3166_1Alpha3CountryCodeGuernseystatic final ISO3166_1Alpha3CountryCodeGhanastatic final ISO3166_1Alpha3CountryCodeGibraltarstatic final ISO3166_1Alpha3CountryCodeGuineastatic final ISO3166_1Alpha3CountryCodeGuadeloupestatic final ISO3166_1Alpha3CountryCodeGambiastatic final ISO3166_1Alpha3CountryCodeGuinea-Bissaustatic final ISO3166_1Alpha3CountryCodeEquatorial Guineastatic final ISO3166_1Alpha3CountryCodeGreecestatic final ISO3166_1Alpha3CountryCodeGrenadastatic final ISO3166_1Alpha3CountryCodeGreenlandstatic final ISO3166_1Alpha3CountryCodeGuatemalastatic final ISO3166_1Alpha3CountryCodeFrench Guianastatic final ISO3166_1Alpha3CountryCodeGuamstatic final ISO3166_1Alpha3CountryCodeGuyanastatic final ISO3166_1Alpha3CountryCodeHong Kongstatic final ISO3166_1Alpha3CountryCodeHeard Island and McDonald Islandsstatic final ISO3166_1Alpha3CountryCodeHondurasstatic final ISO3166_1Alpha3CountryCodeCroatiastatic final ISO3166_1Alpha3CountryCodeHaitistatic final ISO3166_1Alpha3CountryCodeHungarystatic final ISO3166_1Alpha3CountryCodeIndonesiastatic final ISO3166_1Alpha3CountryCodeIsle of Manstatic final ISO3166_1Alpha3CountryCodeIndiastatic final ISO3166_1Alpha3CountryCodeBritish Indian Ocean Territorystatic final ISO3166_1Alpha3CountryCodeIrelandstatic final ISO3166_1Alpha3CountryCodeIran (Islamic Republic of)static final ISO3166_1Alpha3CountryCodeIraqstatic final ISO3166_1Alpha3CountryCodeIcelandstatic final ISO3166_1Alpha3CountryCodeIsraelstatic final ISO3166_1Alpha3CountryCodeItalystatic final ISO3166_1Alpha3CountryCodeJamaicastatic final ISO3166_1Alpha3CountryCodeJerseystatic final ISO3166_1Alpha3CountryCodeJordanstatic final ISO3166_1Alpha3CountryCodeJapanstatic final ISO3166_1Alpha3CountryCodeKazakhstanstatic final ISO3166_1Alpha3CountryCodeKenyastatic final ISO3166_1Alpha3CountryCodeKyrgyzstanstatic final ISO3166_1Alpha3CountryCodeCambodiastatic final ISO3166_1Alpha3CountryCodeKiribatistatic final ISO3166_1Alpha3CountryCodeSaint Kitts and Nevisstatic final ISO3166_1Alpha3CountryCodeKorea, Republic ofstatic final ISO3166_1Alpha3CountryCodeKuwaitstatic final ISO3166_1Alpha3CountryCodeLao People's Democratic Republicstatic final ISO3166_1Alpha3CountryCodeLebanonstatic final ISO3166_1Alpha3CountryCodeLiberiastatic final ISO3166_1Alpha3CountryCodeLibyastatic final ISO3166_1Alpha3CountryCodeSaint Luciastatic final ISO3166_1Alpha3CountryCodeLiechtensteinstatic final ISO3166_1Alpha3CountryCodeSri Lankastatic final ISO3166_1Alpha3CountryCodeLesothostatic final ISO3166_1Alpha3CountryCodeLithuaniastatic final ISO3166_1Alpha3CountryCodeLuxembourgstatic final ISO3166_1Alpha3CountryCodeLatviastatic final ISO3166_1Alpha3CountryCodeMacaostatic final ISO3166_1Alpha3CountryCodeSaint Martin (French part)static final ISO3166_1Alpha3CountryCodeMoroccostatic final ISO3166_1Alpha3CountryCodeMonacostatic final ISO3166_1Alpha3CountryCodeMoldova, Republic ofstatic final ISO3166_1Alpha3CountryCodeMadagascarstatic final ISO3166_1Alpha3CountryCodeMaldivesstatic final ISO3166_1Alpha3CountryCodeMexicostatic final ISO3166_1Alpha3CountryCodeMarshall Islandsstatic final ISO3166_1Alpha3CountryCodeNorth Macedoniastatic final ISO3166_1Alpha3CountryCodeMalistatic final ISO3166_1Alpha3CountryCodeMaltastatic final ISO3166_1Alpha3CountryCodeMyanmarstatic final ISO3166_1Alpha3CountryCodeMontenegrostatic final ISO3166_1Alpha3CountryCodeMongoliastatic final ISO3166_1Alpha3CountryCodeNorthern Mariana Islandsstatic final ISO3166_1Alpha3CountryCodeMozambiquestatic final ISO3166_1Alpha3CountryCodeMauritaniastatic final ISO3166_1Alpha3CountryCodeMontserratstatic final ISO3166_1Alpha3CountryCodeMartiniquestatic final ISO3166_1Alpha3CountryCodeMauritiusstatic final ISO3166_1Alpha3CountryCodeMalawistatic final ISO3166_1Alpha3CountryCodeMalaysiastatic final ISO3166_1Alpha3CountryCodeMayottestatic final ISO3166_1Alpha3CountryCodeNamibiastatic final ISO3166_1Alpha3CountryCodeNew Caledoniastatic final ISO3166_1Alpha3CountryCodeNigerstatic final ISO3166_1Alpha3CountryCodeNorfolk Islandstatic final ISO3166_1Alpha3CountryCodeNigeriastatic final ISO3166_1Alpha3CountryCodeNicaraguastatic final ISO3166_1Alpha3CountryCodeNiuestatic final ISO3166_1Alpha3CountryCodeNetherlandsstatic final ISO3166_1Alpha3CountryCodeNorwaystatic final ISO3166_1Alpha3CountryCodeNepalstatic final ISO3166_1Alpha3CountryCodeNaurustatic final ISO3166_1Alpha3CountryCodeNew Zealandstatic final ISO3166_1Alpha3CountryCodeOmanstatic final ISO3166_1Alpha3CountryCodePakistanstatic final ISO3166_1Alpha3CountryCodePanamastatic final ISO3166_1Alpha3CountryCodePitcairnstatic final ISO3166_1Alpha3CountryCodePerustatic final ISO3166_1Alpha3CountryCodePhilippinesstatic final ISO3166_1Alpha3CountryCodePalaustatic final ISO3166_1Alpha3CountryCodePapua New Guineastatic final ISO3166_1Alpha3CountryCodePolandstatic final ISO3166_1Alpha3CountryCodePuerto Ricostatic final ISO3166_1Alpha3CountryCodeKorea (Democratic People's Republic of)static final ISO3166_1Alpha3CountryCodePortugalstatic final ISO3166_1Alpha3CountryCodeParaguaystatic final ISO3166_1Alpha3CountryCodePalestine, State ofstatic final ISO3166_1Alpha3CountryCodeFrench Polynesiastatic final ISO3166_1Alpha3CountryCodeQatarstatic final ISO3166_1Alpha3CountryCodeRéunionstatic final ISO3166_1Alpha3CountryCodeRomaniastatic final ISO3166_1Alpha3CountryCodeRussian Federationstatic final ISO3166_1Alpha3CountryCodeRwandastatic final ISO3166_1Alpha3CountryCodeSaudi Arabiastatic final ISO3166_1Alpha3CountryCodeSudanstatic final ISO3166_1Alpha3CountryCodeSenegalstatic final ISO3166_1Alpha3CountryCodeSingaporestatic final ISO3166_1Alpha3CountryCodeSouth Georgia and the South Sandwich Islandsstatic final ISO3166_1Alpha3CountryCodeSaint Helena, Ascension and Tristan da Cunhastatic final ISO3166_1Alpha3CountryCodeSvalbard and Jan Mayenstatic final ISO3166_1Alpha3CountryCodeSolomon Islandsstatic final ISO3166_1Alpha3CountryCodeSierra Leonestatic final ISO3166_1Alpha3CountryCodeEl Salvadorstatic final ISO3166_1Alpha3CountryCodeSan Marinostatic final ISO3166_1Alpha3CountryCodeSomaliastatic final ISO3166_1Alpha3CountryCodeSaint Pierre and Miquelonstatic final ISO3166_1Alpha3CountryCodeSerbiastatic final ISO3166_1Alpha3CountryCodeSouth Sudanstatic final ISO3166_1Alpha3CountryCodeSao Tome and Principestatic final ISO3166_1Alpha3CountryCodeSurinamestatic final ISO3166_1Alpha3CountryCodeSlovakiastatic final ISO3166_1Alpha3CountryCodeSloveniastatic final ISO3166_1Alpha3CountryCodeSwedenstatic final ISO3166_1Alpha3CountryCodeEswatinistatic final ISO3166_1Alpha3CountryCodeSint Maarten (Dutch part)static final ISO3166_1Alpha3CountryCodeSeychellesstatic final ISO3166_1Alpha3CountryCodeSyrian Arab Republicstatic final ISO3166_1Alpha3CountryCodeTurks and Caicos Islandsstatic final ISO3166_1Alpha3CountryCodeChadstatic final ISO3166_1Alpha3CountryCodeTogostatic final ISO3166_1Alpha3CountryCodeThailandstatic final ISO3166_1Alpha3CountryCodeTajikistanstatic final ISO3166_1Alpha3CountryCodeTokelaustatic final ISO3166_1Alpha3CountryCodeTurkmenistanstatic final ISO3166_1Alpha3CountryCodeTimor-Lestestatic final ISO3166_1Alpha3CountryCodeTongastatic final ISO3166_1Alpha3CountryCodeTrinidad and Tobagostatic final ISO3166_1Alpha3CountryCodeTunisiastatic final ISO3166_1Alpha3CountryCodeTurkeystatic final ISO3166_1Alpha3CountryCodeTuvalustatic final ISO3166_1Alpha3CountryCodeTaiwan, Province of Chinastatic final ISO3166_1Alpha3CountryCodeTanzania, United Republic ofstatic final ISO3166_1Alpha3CountryCodeUgandastatic final ISO3166_1Alpha3CountryCodeUkrainestatic final ISO3166_1Alpha3CountryCodeUnited States Minor Outlying Islandsstatic final ISO3166_1Alpha3CountryCodeUruguaystatic final ISO3166_1Alpha3CountryCodeUnited States of Americastatic final ISO3166_1Alpha3CountryCodeUzbekistanstatic final ISO3166_1Alpha3CountryCodeHoly Seestatic final ISO3166_1Alpha3CountryCodeSaint Vincent and the Grenadinesstatic final ISO3166_1Alpha3CountryCodeVenezuela (Bolivarian Republic of)static final ISO3166_1Alpha3CountryCodeVirgin Islands (British)static final ISO3166_1Alpha3CountryCodeVirgin Islands (U.S.)static final ISO3166_1Alpha3CountryCodeViet Namstatic final ISO3166_1Alpha3CountryCodeVanuatustatic final ISO3166_1Alpha3CountryCodeWallis and Futunastatic final ISO3166_1Alpha3CountryCodeSamoastatic final ISO3166_1Alpha3CountryCodeYemenstatic final ISO3166_1Alpha3CountryCodeSouth Africastatic final ISO3166_1Alpha3CountryCodeZambiastatic final ISO3166_1Alpha3CountryCodeZimbabweFields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom -
Constructor Summary
ConstructorsConstructorDescriptionISO3166_1Alpha3CountryCode(String value) Creates a new ISO 3166-1 alpha-3 country code. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the country name if available in theiso3166_1alpha3-codes.propertiesresource.static ISO3166_1Alpha3CountryCodeParses 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_3CountryCodeMethods 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,
nullif none.
-
getCountryName
Returns the country name if available in theiso3166_1alpha3-codes.propertiesresource.- Specified by:
getCountryNamein classISO3166_1AlphaCountryCode- Returns:
- The country name,
nullif not available.
-
equals
- Specified by:
equalsin 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.
-