Enum IsoCountry

  • All Implemented Interfaces:
    Serializable, Comparable<IsoCountry>

    public enum IsoCountry
    extends Enum<IsoCountry>
    The countries, dependent territories, and special areas of geographical interest having an Officially assigned ISO 3166-1 code.

    One exception has been made for Kosovo. Kosovo has a user-assigned code, XK, that is being used temporarily by the European Commission, the IMF, and SWIFT.

    Note that enum entries are named after the ISO 3166-1 alpha-2 code. This choice has been made in version 3.0.0 of jbanking in order to :

    • reduce breaking changes in future versions (names change more often than codes),
    • make this enum easier to serialize (to JSON, in database...),
    • prevent accidental duplicates.

    Please be advised that this list is current as of 2020-08-03. An up-to-date list can be found on the International Organization for Standardization website.

    Since:
    1.0
    Author:
    Marc Wrobel
    See Also:
    ISO 3166 Country Codes
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AD
      Andorra (a.k.a.
      AE
      The United Arab Emirates.
      AF
      Afghanistan (a.k.a.
      AG
      Antigua and Barbuda.
      AI
      Anguilla.
      AL
      Albania (a.k.a.
      AM
      Armenia (a.k.a.
      AO
      Angola (a.k.a the Republic of Angola).
      AQ
      Antarctica.
      AR
      Argentina (a.k.a.
      AS
      American Samoa.
      AT
      Austria (a.k.a.
      AU
      Australia.
      AW
      Aruba.
      AX
      Åland Islands.
      AZ
      Azerbaijan (a.k.a the Republic of Azerbaijan).
      BA
      Bosnia and Herzegovina.
      BB
      Barbados.
      BD
      Bangladesh (a.k.a.
      BE
      Belgium (a.k.a.
      BF
      Burkina Faso.
      BG
      Bulgaria (a.k.a the Republic of Bulgaria).
      BH
      Bahrain (a.k.a.
      BI
      Burundi (a.k.a.
      BJ
      Benin (a.k.a.
      BL
      Saint Barthélemy.
      BM
      Bermuda.
      BN
      Brunei Darussalam.
      BO
      Bolivia (a.k.a.
      BQ
      Bonaire, Sint Eustatius and Saba.
      BR
      Brazil (a.k.a the Federative Republic of Brazil).
      BS
      The Bahamas (a.k.a.
      BT
      Bhutan (a.k.a.
      BV
      Bouvet Island.
      BW
      Botswana (a.k.a.
      BY
      Belarus (a.k.a.
      BZ
      Belize.
      CA
      Canada.
      CC
      The Cocos (Keeling) Islands.
      CD
      The Democratic Republic of the Congo.
      CF
      The Central African Republic.
      CG
      The Congo (a.k.a.
      CH
      Switzerland (a.k.a.
      CI
      Côte d'Ivoire (a.k.a the Republic of Côte d'Ivoire).
      CK
      The Cook Islands.
      CL
      Chile (a.k.a.
      CM
      Cameroon (a.k.a.
      CN
      China (a.k.a.
      CO
      Colombia (a.k.a.
      CR
      Costa Rica (a.k.a.
      CU
      Cuba (a.k.a.
      CV
      Cabo Verde (a.k.a.
      CW
      Curaçao.
      CX
      Christmas Island.
      CY
      Cyprus (a.k.a.
      CZ
      Czechia (a.k.a.
      DE
      Germany (a.k.a.
      DJ
      Djibouti (a.k.a.
      DK
      Denmark (a.k.a.
      DM
      Dominica (a.k.a.
      DO
      The Dominican Republic.
      DZ
      Algeria (a.k.a.
      EC
      Ecuador (a.k.a.
      EE
      Estonia (a.k.a.
      EG
      Egypt (a.k.a.
      EH
      Western Sahara (provisional name).
      ER
      Eritrea (a.k.a.
      ES
      Spain (a.k.a.
      ET
      Ethiopia (a.k.a.
      FI
      Finland (a.k.a.
      FJ
      Fiji (a.k.a.
      FK
      The Falkland Island (Malvinas).
      FM
      The Federated States of Micronesia.
      FO
      The Faroe Islands.
      FR
      France (a.k.a.
      GA
      Gabon (a.k.a.
      GB
      The United Kingdom of Great Britain and Northern Ireland (a.k.a.
      GD
      Grenada.
      GE
      Georgia.
      GF
      French Guiana.
      GG
      Guernsey.
      GH
      Ghana (a.k.a.
      GI
      Gibraltar.
      GL
      Greenland.
      GM
      The Gambia (a.k.a.
      GN
      Guinea (a.k.a.
      GP
      Guadeloupe.
      GQ
      Equatorial Guinea (a.k.a.
      GR
      Greece (a.k.a.
      GS
      South Georgia and the South Sandwich Islands.
      GT
      Guatemala (a.k.a.
      GU
      Guam.
      GW
      Guinea-Bissau (a.k.a.
      GY
      Guyana (a.k.a.
      HK
      Hong Kong (a.k.a.
      HM
      Heard Island and McDonald Islands.
      HN
      Honduras (a.k.a.
      HR
      Croatia (a.k.a.
      HT
      Haiti (a.k.a.
      HU
      Hungary.
      ID
      Indonesia (a.k.a.
      IE
      Ireland.
      IL
      Israel (a.k.a.
      IM
      Isle of Man.
      IN
      India (a.k.a.
      IO
      The British Indian Ocean Territory.
      IQ
      Iraq (a.k.a.
      IR
      The Islamic Republic of Iran.
      IS
      Iceland (a.k.a.
      IT
      Italy (a.k.a.
      JE
      Jersey.
      JM
      Jamaica.
      JO
      Jordan (a.k.a.
      JP
      Japan.
      KE
      Kenya (a.k.a.
      KG
      Kyrgyzstan (a.k.a.
      KH
      Cambodia (a.k.a.
      KI
      Kiribati (a.k.a.
      KM
      The Comoros (a.k.a.
      KN
      Saint Kitts and Nevis.
      KP
      The Democratic People's Republic of Korea (a.k.a.
      KR
      The Republic of Korea (a.k.a.
      KW
      Kuwait (a.k.a.
      KY
      The Cayman Islands.
      KZ
      Kazakhstan (a.k.a.
      LA
      The Lao People's Democratic Republic.
      LB
      Lebanon (a.k.a.
      LC
      Saint Lucia.
      LI
      Liechtenstein (a.k.a.
      LK
      Sri Lanka (a.k.a.
      LR
      Liberia (a.k.a.
      LS
      Lesotho (a.k.a.
      LT
      Lithuania (a.k.a.
      LU
      Luxembourg (a.k.a.
      LV
      Latvia (a.k.a.
      LY
      Libya (a.k.a.
      MA
      Morocco (a.k.a.
      MC
      Monaco (a.k.a.
      MD
      The Republic of Moldova.
      ME
      Montenegro.
      MF
      Saint Martin (French part).
      MG
      Madagascar (a.k.a.
      MH
      The Marshall Islands (a.k.a.
      MK
      North Macedonia (a.k.a.
      ML
      Mali (a.k.a.
      MM
      Myanmar (a.k.a.
      MN
      Mongolia.
      MO
      Macao (a.k.a Macao Special Administrative Region of China).
      MP
      The Northern Mariana Islands (a.k.a.
      MQ
      Martinique.
      MR
      Mauritania (a.k.a.
      MS
      Montserrat.
      MT
      Malta (a.k.a.
      MU
      Mauritius (a.k.a.
      MV
      Maldives (a.k.a.
      MW
      Malawi (a.k.a.
      MX
      Mexico (a.k.a.
      MY
      Malaysia.
      MZ
      Mozambique (a.k.a.
      NA
      Namibia (a.k.a.
      NC
      New Caledonia.
      NE
      The Niger (a.k.a.
      NF
      Norfolk Island.
      NG
      Nigeria (a.k.a.
      NI
      Nicaragua (a.k.a.
      NL
      The Netherlands (a.k.a.
      NO
      Norway (a.k.a.
      NP
      Nepal (a.k.a.
      NR
      Nauru (a.k.a.
      NU
      Niue.
      NZ
      New Zealand.
      OM
      Oman (a.k.a.
      PA
      Panama (a.k.a.
      PE
      Peru (a.k.a.
      PF
      French Polynesia.
      PG
      Papua New Guinea (a.k.a.
      PH
      The Philippines (a.k.a.
      PK
      Pakistan (a.k.a.
      PL
      Poland (a.k.a.
      PM
      Saint Pierre and Miquelon.
      PN
      Pitcairn.
      PR
      Puerto Rico.
      PS
      The State of Palestine.
      PT
      Portugal (a.k.a.
      PW
      Palau (a.k.a.
      PY
      Paraguay (a.k.a.
      QA
      Qatar (a.k.a.
      RE
      Réunion.
      RO
      Romania.
      RS
      Serbia (a.k.a.
      RU
      The Russian Federation (a.k.a.
      RW
      Rwanda (a.k.a.
      SA
      Saudi Arabia (a.k.a.
      SB
      Solomon Islands.
      SC
      Seychelles (a.k.a.
      SD
      The Sudan (a.k.a.
      SE
      Sweden (a.k.a.
      SG
      Singapore (a.k.a.
      SH
      Saint Helena, Ascension and Tristan da Cunha.
      SI
      Slovenia (a.k.a.
      SJ
      Svalbard and Jan Mayen.
      SK
      Slovakia (a.k.a.
      SL
      Sierra Leone (a.k.a.
      SM
      San Marino (a.k.a.
      SN
      Senegal (a.k.a.
      SO
      Somalia (a.k.a.
      SR
      Suriname (a.k.a.
      SS
      South Sudan (a.k.a.
      ST
      São Tomé and Príncipe (a.k.a.
      SV
      El Salvador (a.k.a.
      SX
      Sint Maarten (Dutch part).
      SY
      The Syrian Arab Republic.
      SZ
      Eswatini (a.k.a.
      TC
      The Turks and Caicos Islands.
      TD
      Chad (a.k.a.
      TF
      The French Southern Territories.
      TG
      Togo (a.k.a.
      TH
      Thailand (a.k.a.
      TJ
      Tajikistan (a.k.a.
      TK
      Tokelau.
      TL
      Timor-Leste (a.k.a.
      TM
      Turkmenistan.
      TN
      Tunisia (a.k.a.
      TO
      Tonga (a.k.a.
      TR
      Turkey (a.k.a.
      TT
      Trinidad and Tobago (a.k.a.
      TV
      Tuvalu.
      TW
      Taiwan (Province of China).
      TZ
      The United Republic of Tanzania.
      UA
      Ukraine.
      UG
      Uganda (a.k.a.
      UM
      The United States Minor Outlying Islands.
      US
      The United States of America.
      UY
      Uruguay (a.k.a.
      UZ
      Uzbekistan (a.k.a.
      VA
      The Holy See (a.k.a.
      VC
      Saint Vincent and the Grenadines.
      VE
      The Bolivarian Republic of Venezuela.
      VG
      The British Virgin Islands.
      VI
      The U.S.
      VN
      Viet Nam (a.k.a.
      VU
      Vanuatu (a.k.a.
      WF
      Wallis and Futuna (a.k.a.
      WS
      Samoa (a.k.a.
      XK
      Kosovo.
      YE
      Yemen (a.k.a.
      YT
      Mayotte.
      ZA
      South Africa (a.k.a.
      ZM
      Zambia (a.k.a.
      ZW
      Zimbabwe (a.k.a.