public enum CountryCode extends Enum<CountryCode>
| Modifier and Type | Method and Description |
|---|---|
static CountryCode |
fromAlpha2Code(String code) |
static CountryCode |
fromAlpha2CodeNonFatal(String code) |
static CountryCode |
fromCodeStrict(String countryCode) |
static String |
fromIso3ToIso2(String iso3CountryCode) |
static CountryCode |
getByNumericalCode(Integer numericCode) |
Integer |
getNumericCode()
Represents ISO 3166-1 numeric codes for country
|
int |
getPosition() |
String |
toAlpha2Code() |
String |
toIso2() |
String |
toIso3() |
static CountryCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CountryCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CountryCode CZE
public static final CountryCode SVK
public static final CountryCode AFG
public static final CountryCode ALA
public static final CountryCode ALB
public static final CountryCode DZA
public static final CountryCode ASM
public static final CountryCode VIR
public static final CountryCode AND
public static final CountryCode AGO
public static final CountryCode AIA
public static final CountryCode ATA
public static final CountryCode ATG
public static final CountryCode ARG
public static final CountryCode ARM
public static final CountryCode ABW
public static final CountryCode AUS
public static final CountryCode AZE
public static final CountryCode BHS
public static final CountryCode BHR
public static final CountryCode BGD
public static final CountryCode BRB
public static final CountryCode BEL
public static final CountryCode BLZ
public static final CountryCode BLR
public static final CountryCode BEN
public static final CountryCode BMU
public static final CountryCode BTN
public static final CountryCode BOL
public static final CountryCode BES
public static final CountryCode BIH
public static final CountryCode BWA
public static final CountryCode BVT
public static final CountryCode BRA
public static final CountryCode IOT
public static final CountryCode VGB
public static final CountryCode BRN
public static final CountryCode BGR
public static final CountryCode BFA
public static final CountryCode BDI
public static final CountryCode COK
public static final CountryCode CUW
public static final CountryCode TCD
public static final CountryCode MNE
public static final CountryCode CHN
public static final CountryCode DNK
public static final CountryCode COD
public static final CountryCode DMA
public static final CountryCode DOM
public static final CountryCode DJI
public static final CountryCode EGY
public static final CountryCode ECU
public static final CountryCode ERI
public static final CountryCode EST
public static final CountryCode ETH
public static final CountryCode FRO
public static final CountryCode FLK
public static final CountryCode FJI
public static final CountryCode PHL
public static final CountryCode FIN
public static final CountryCode FRA
public static final CountryCode GUF
public static final CountryCode ATF
public static final CountryCode PYF
public static final CountryCode GAB
public static final CountryCode GMB
public static final CountryCode GHA
public static final CountryCode GIB
public static final CountryCode GRD
public static final CountryCode GRL
public static final CountryCode GEO
public static final CountryCode GLP
public static final CountryCode GUM
public static final CountryCode GTM
public static final CountryCode GIN
public static final CountryCode GNB
public static final CountryCode GGY
public static final CountryCode GUY
public static final CountryCode HTI
public static final CountryCode HMD
public static final CountryCode HND
public static final CountryCode HKG
public static final CountryCode CHL
public static final CountryCode HRV
public static final CountryCode IND
public static final CountryCode IDN
public static final CountryCode IRQ
public static final CountryCode IRN
public static final CountryCode IRL
public static final CountryCode ISL
public static final CountryCode ITA
public static final CountryCode ISR
public static final CountryCode JAM
public static final CountryCode JPN
public static final CountryCode YEM
public static final CountryCode JEY
public static final CountryCode ZAF
public static final CountryCode SGS
public static final CountryCode KOR
public static final CountryCode SSD
public static final CountryCode JOR
public static final CountryCode CYM
public static final CountryCode KHM
public static final CountryCode CMR
public static final CountryCode CAN
public static final CountryCode CPV
public static final CountryCode QAT
public static final CountryCode KAZ
public static final CountryCode KEN
public static final CountryCode KIR
public static final CountryCode CCK
public static final CountryCode COL
public static final CountryCode COM
public static final CountryCode COG
public static final CountryCode CRI
public static final CountryCode CUB
public static final CountryCode KWT
public static final CountryCode CYP
public static final CountryCode KGZ
public static final CountryCode LAO
public static final CountryCode LSO
public static final CountryCode LBN
public static final CountryCode LBR
public static final CountryCode LBY
public static final CountryCode LIE
public static final CountryCode LTU
public static final CountryCode LVA
public static final CountryCode LUX
public static final CountryCode MAC
public static final CountryCode MDG
public static final CountryCode HUN
public static final CountryCode MKD
public static final CountryCode MYS
public static final CountryCode MWI
public static final CountryCode MDV
public static final CountryCode MLI
public static final CountryCode MLT
public static final CountryCode IMN
public static final CountryCode MAR
public static final CountryCode MHL
public static final CountryCode MTQ
public static final CountryCode MUS
public static final CountryCode MRT
public static final CountryCode MYT
public static final CountryCode UMI
public static final CountryCode MEX
public static final CountryCode FSM
public static final CountryCode MDA
public static final CountryCode MCO
public static final CountryCode MNG
public static final CountryCode MSR
public static final CountryCode MOZ
public static final CountryCode MMR
public static final CountryCode NAM
public static final CountryCode NRU
public static final CountryCode DEU
public static final CountryCode NPL
public static final CountryCode NER
public static final CountryCode NGA
public static final CountryCode NIC
public static final CountryCode NIU
public static final CountryCode NLD
public static final CountryCode NFK
public static final CountryCode NOR
public static final CountryCode NCL
public static final CountryCode NZL
public static final CountryCode OMN
public static final CountryCode PAK
public static final CountryCode PLW
public static final CountryCode PSE
public static final CountryCode PAN
public static final CountryCode PNG
public static final CountryCode PRY
public static final CountryCode PER
public static final CountryCode PCN
public static final CountryCode CIV
public static final CountryCode POL
public static final CountryCode PRI
public static final CountryCode PRT
public static final CountryCode AUT
public static final CountryCode REU
public static final CountryCode GNQ
public static final CountryCode ROU
public static final CountryCode RUS
public static final CountryCode RWA
public static final CountryCode GRC
public static final CountryCode SPM
public static final CountryCode SLV
public static final CountryCode WSM
public static final CountryCode SMR
public static final CountryCode SAU
public static final CountryCode SEN
public static final CountryCode PRK
public static final CountryCode MNP
public static final CountryCode SYC
public static final CountryCode SLE
public static final CountryCode SGP
public static final CountryCode SVN
public static final CountryCode SOM
public static final CountryCode ARE
public static final CountryCode GBR
public static final CountryCode USA
public static final CountryCode SRB
public static final CountryCode CAF
public static final CountryCode SDN
public static final CountryCode SUR
public static final CountryCode SHN
public static final CountryCode LCA
public static final CountryCode BLM
public static final CountryCode KNA
public static final CountryCode MAF
public static final CountryCode SXM
public static final CountryCode STP
public static final CountryCode VCT
public static final CountryCode SWZ
public static final CountryCode SYR
public static final CountryCode SLB
public static final CountryCode ESP
public static final CountryCode SJM
public static final CountryCode LKA
public static final CountryCode SWE
public static final CountryCode CHE
public static final CountryCode TJK
public static final CountryCode TZA
public static final CountryCode THA
public static final CountryCode TWN
public static final CountryCode TGO
public static final CountryCode TKL
public static final CountryCode TON
public static final CountryCode TTO
public static final CountryCode TUN
public static final CountryCode TUR
public static final CountryCode TKM
public static final CountryCode TCA
public static final CountryCode TUV
public static final CountryCode UGA
public static final CountryCode UKR
public static final CountryCode URY
public static final CountryCode UZB
public static final CountryCode CXR
public static final CountryCode VUT
public static final CountryCode VAT
public static final CountryCode VEN
public static final CountryCode VNM
public static final CountryCode TLS
public static final CountryCode WLF
public static final CountryCode ZMB
public static final CountryCode ESH
public static final CountryCode ZWE
public static final CountryCode UNK
public static CountryCode[] values()
for (CountryCode c : CountryCode.values()) System.out.println(c);
public static CountryCode 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 toIso3()
public String toIso2()
public static CountryCode fromCodeStrict(String countryCode)
public static CountryCode fromAlpha2Code(String code)
public static CountryCode fromAlpha2CodeNonFatal(String code)
public String toAlpha2Code()
public Integer getNumericCode()
public static CountryCode getByNumericalCode(Integer numericCode)
public int getPosition()
Copyright © 2017. All rights reserved.