CountryPhoneCode Class

定义

Defines values for country codes for phone number prefixes. E.g. the country code for +1 123 456 7890 is '+1'.

public class CountryPhoneCode extends ExpandableStringEnum<CountryPhoneCode>
继承
java.lang.Object
CountryPhoneCode

继承成员

字段

ALBANIA
ALGERIA
ANDORRA
ANGOLA
ANTARCTICA
ANTIGUA_AND_BARBUDA
ARGENTINA
ARMENIA
ARUBA
ASCENSION_ISLAND
AUSTRALIA
AUSTRIA
AZERBAIJAN
BAHAMAS
BAHRAIN
BANGLADESH
BARBADOS
BELARUS
BELGIUM
BELIZE
BENIN
BERMUDA
BHUTAN
BOLIVIA
BOSNIA_AND_HERZEGOVINA
BOTSWANA
BOUVET_ISLAND
BRAZIL
BRITISH_INDIAN_OCEAN_TERRITORY
BRUNEI
BULGARIA
BURKINA_FASO
BURUNDI
CABO_VERDE
CAMBODIA
CAMEROON
CANADA
CAYMAN_ISLANDS
CENTRAL_AFRICAN_REPUBLIC
CHAD
CHILE
CHINA
CHRISTMAS_ISLAND
COCOS_KEELING_ISLANDS
COLOMBIA
COMOROS
CONGO
CONGO_DRC
COOK_ISLANDS
COSTA_RICA
CROATIA
CUBA
CYPRUS
CZECH_REPUBLIC
DENMARK
DJIBOUTI
DOMINICA
DOMINICAN_REPUBLIC
ECUADOR
EGYPT
EL_SALVADOR
EQUATORIAL_GUINEA
ERITREA
ESTONIA
ETHIOPIA
FALKLAND_ISLANDS
FAROE_ISLANDS
FIJI_ISLANDS
FINLAND
FRANCE
FRENCH_GUIANA
FRENCH_POLYNESIA
GABON
GAMBIA_THE
GEORGIA
GERMANY
GHANA
GIBRALTAR
GREECE
GREENLAND
GRENADA
GUADELOUPE
GUAM
GUATEMALA
GUERNSEY
GUINEA
GUINEA_BISSAU
GUYANA
HAITI
HOLY_SEE_VATICAN_CITY
HONDURAS
HONG_KONG_SAR
HUNGARY
ICELAND
INDIA
INDONESIA
IRAN
IRAQ
IRELAND
ISLE_OF_MAN
ISRAEL
ITALY
IVORY_COAST
JAMAICA
JAN_MAYEN
JAPAN
JERSEY
JORDAN
KAZAKHSTAN
KENYA
KIRIBATI
KOREA
KUWAIT
KYRGYZSTAN
LAOS
LATVIA
LEBANON
LESOTHO
LIBERIA
LIBYA
LIECHTENSTEIN
LITHUANIA
LUXEMBOURG
MACAO_SAR
MACEDONIA_FORMER_YUGOSLAV_REPUBLIC_OF
MADAGASCAR
MALAWI
MALAYSIA
MALDIVES
MALI
MALTA
MARSHALL_ISLANDS
MARTINIQUE
MAURITANIA
MAURITIUS
MAYOTTE
MEXICO
MICRONESIA
MOLDOVA
MONACO
MONGOLIA
MONTENEGRO
MONTSERRAT
MOROCCO
MOZAMBIQUE
MYANMAR
NAMIBIA
NAURU
NEPAL
NETHERLANDS
NETHERLANDS_ANTILLES_FORMER
NEW_CALEDONIA
NEW_ZEALAND
NICARAGUA
NIGER
NIGERIA
NIUE
NORTH_KOREA
NORTHERN_MARIANA_ISLANDS
NORWAY
OMAN
PAKISTAN
PALAU
PALESTINIAN_AUTHORITY_970
PALESTINIAN_AUTHORITY_972
PANAMA
PAPUA_NEW_GUINEA
PARAGUAY
PERU
PHILIPPINES
POLAND
PORTUGAL
QATAR
REUNION
ROMANIA
RUSSIA
RWANDA
SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA
SAMOA
SAN_MARINO
SAO_TOME_AND_PRINCIPE
SAUDI_ARABIA
SENEGAL
SERBIA
SEYCHELLES
SIERRA_LEONE
SINGAPORE
SLOVAKIA
SLOVENIA
SOLOMON_ISLANDS
SOMALIA
SOUTH_AFRICA
SPAIN
SRI_LANKA
ST_KITTS_AND_NEVIS
ST_LUCIA
ST_PIERRE_AND_MIQUELON
ST_VINCENT_AND_THE_GRENADINES
SUDAN
SURINAME
SWAZILAND
SWEDEN
SWITZERLAND
SYRIA
TAIWAN
TAJIKISTAN
TANZANIA
THAILAND
TIMOR_LESTE
TOGO
TOKELAU
TONGA
TRINIDAD_AND_TOBAGO
TRISTAN_DA_CUNHA
TUNISIA
TURKEY
TURKMENISTAN
TURKS_AND_CAICOS_ISLANDS
TUVALU
UGANDA
UKRAINE
UNITED_ARAB_EMIRATES
UNITED_KINGDOM
UNITED_STATES
UNITED_STATES_MINOR_OUTLYING_ISLANDS
URUGUAY
UZBEKISTAN
VANUATU
VENEZUELA
VIETNAM
VIRGIN_ISLANDS_BRITISH
VIRGIN_ISLANDS_US
WALLIS_AND_FUTUNA
YEMEN
ZAMBIA
ZIMBABWE

方法

fromString(String code)

Creates or finds a country phone code from its string representation.

values()

适用于