com.bericotech.clavin.gazetteer
Enum CountryCode

java.lang.Object
  extended by java.lang.Enum<CountryCode>
      extended by com.bericotech.clavin.gazetteer.CountryCode
All Implemented Interfaces:
Serializable, Comparable<CountryCode>

public enum CountryCode
extends Enum<CountryCode>

ISO-3166 2-letter country codes used by GeoNames.


Enum Constant Summary
AD
           
AE
           
AF
           
AG
           
AI
           
AL
           
AM
           
AN
           
AO
           
AQ
           
AR
           
AS
           
AT
           
AU
           
AW
           
AX
           
AZ
           
BA
           
BB
           
BD
           
BE
           
BF
           
BG
           
BH
           
BI
           
BJ
           
BL
           
BM
           
BN
           
BO
           
BQ
           
BR
           
BS
           
BT
           
BV
           
BW
           
BY
           
BZ
           
CA
           
CC
           
CD
           
CF
           
CG
           
CH
           
CI
           
CK
           
CL
           
CM
           
CN
           
CO
           
CR
           
CS
           
CU
           
CV
           
CW
           
CX
           
CY
           
CZ
           
DE
           
DJ
           
DK
           
DM
           
DO
           
DZ
           
EC
           
EE
           
EG
           
EH
           
ER
           
ES
           
ET
           
FI
           
FJ
           
FK
           
FM
           
FO
           
FR
           
GA
           
GB
           
GD
           
GE
           
GF
           
GG
           
GH
           
GI
           
GL
           
GM
           
GN
           
GP
           
GQ
           
GR
           
GS
           
GT
           
GU
           
GW
           
GY
           
HK
           
HM
           
HN
           
HR
           
HT
           
HU
           
ID
           
IE
           
IL
           
IM
           
IN
           
IO
           
IQ
           
IR
           
IS
           
IT
           
JE
           
JM
           
JO
           
JP
           
KE
           
KG
           
KH
           
KI
           
KM
           
KN
           
KP
           
KR
           
KW
           
KY
           
KZ
           
LA
           
LB
           
LC
           
LI
           
LK
           
LR
           
LS
           
LT
           
LU
           
LV
           
LY
           
MA
           
MC
           
MD
           
ME
           
MF
           
MG
           
MH
           
MK
           
ML
           
MM
           
MN
           
MO
           
MP
           
MQ
           
MR
           
MS
           
MT
           
MU
           
MV
           
MW
           
MX
           
MY
           
MZ
           
NA
           
NC
           
NE
           
NF
           
NG
           
NI
           
NL
           
NO
           
NP
           
NR
           
NU
           
NULL
           
NZ
           
OM
           
PA
           
PE
           
PF
           
PG
           
PH
           
PK
           
PL
           
PM
           
PN
           
PR
           
PS
           
PT
           
PW
           
PY
           
QA
           
RE
           
RO
           
RS
           
RU
           
RW
           
SA
           
SB
           
SC
           
SD
           
SE
           
SG
           
SH
           
SI
           
SJ
           
SK
           
SL
           
SM
           
SN
           
SO
           
SR
           
SS
           
ST
           
SV
           
SX
           
SY
           
SZ
           
TC
           
TD
           
TF
           
TG
           
TH
           
TJ
           
TK
           
TL
           
TM
           
TN
           
TO
           
TR
           
TT
           
TV
           
TW
           
TZ
           
UA
           
UG
           
UM
           
US
           
UY
           
UZ
           
VA
           
VC
           
VE
           
VG
           
VI
           
VN
           
VU
           
WF
           
WS
           
XK
           
YE
           
YT
           
ZA
           
ZM
           
ZW
           
 
Field Summary
 int geonameID
           
 String name
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AD

public static final CountryCode AD

AE

public static final CountryCode AE

AF

public static final CountryCode AF

AG

public static final CountryCode AG

AI

public static final CountryCode AI

AL

public static final CountryCode AL

AM

public static final CountryCode AM

AO

public static final CountryCode AO

AQ

public static final CountryCode AQ

AR

public static final CountryCode AR

AS

public static final CountryCode AS

AT

public static final CountryCode AT

AU

public static final CountryCode AU

AW

public static final CountryCode AW

AX

public static final CountryCode AX

AZ

public static final CountryCode AZ

BA

public static final CountryCode BA

BB

public static final CountryCode BB

BD

public static final CountryCode BD

BE

public static final CountryCode BE

BF

public static final CountryCode BF

BG

public static final CountryCode BG

BH

public static final CountryCode BH

BI

public static final CountryCode BI

BJ

public static final CountryCode BJ

BL

public static final CountryCode BL

BM

public static final CountryCode BM

BN

public static final CountryCode BN

BO

public static final CountryCode BO

BQ

public static final CountryCode BQ

BR

public static final CountryCode BR

BS

public static final CountryCode BS

BT

public static final CountryCode BT

BV

public static final CountryCode BV

BW

public static final CountryCode BW

BY

public static final CountryCode BY

BZ

public static final CountryCode BZ

CA

public static final CountryCode CA

CC

public static final CountryCode CC

CD

public static final CountryCode CD

CF

public static final CountryCode CF

CG

public static final CountryCode CG

CH

public static final CountryCode CH

CI

public static final CountryCode CI

CK

public static final CountryCode CK

CL

public static final CountryCode CL

CM

public static final CountryCode CM

CN

public static final CountryCode CN

CO

public static final CountryCode CO

CR

public static final CountryCode CR

CU

public static final CountryCode CU

CV

public static final CountryCode CV

CW

public static final CountryCode CW

CX

public static final CountryCode CX

CY

public static final CountryCode CY

CZ

public static final CountryCode CZ

DE

public static final CountryCode DE

DJ

public static final CountryCode DJ

DK

public static final CountryCode DK

DM

public static final CountryCode DM

DO

public static final CountryCode DO

DZ

public static final CountryCode DZ

EC

public static final CountryCode EC

EE

public static final CountryCode EE

EG

public static final CountryCode EG

EH

public static final CountryCode EH

ER

public static final CountryCode ER

ES

public static final CountryCode ES

ET

public static final CountryCode ET

FI

public static final CountryCode FI

FJ

public static final CountryCode FJ

FK

public static final CountryCode FK

FM

public static final CountryCode FM

FO

public static final CountryCode FO

FR

public static final CountryCode FR

GA

public static final CountryCode GA

GB

public static final CountryCode GB

GD

public static final CountryCode GD

GE

public static final CountryCode GE

GF

public static final CountryCode GF

GG

public static final CountryCode GG

GH

public static final CountryCode GH

GI

public static final CountryCode GI

GL

public static final CountryCode GL

GM

public static final CountryCode GM

GN

public static final CountryCode GN

GP

public static final CountryCode GP

GQ

public static final CountryCode GQ

GR

public static final CountryCode GR

GS

public static final CountryCode GS

GT

public static final CountryCode GT

GU

public static final CountryCode GU

GW

public static final CountryCode GW

GY

public static final CountryCode GY

HK

public static final CountryCode HK

HM

public static final CountryCode HM

HN

public static final CountryCode HN

HR

public static final CountryCode HR

HT

public static final CountryCode HT

HU

public static final CountryCode HU

ID

public static final CountryCode ID

IE

public static final CountryCode IE

IL

public static final CountryCode IL

IM

public static final CountryCode IM

IN

public static final CountryCode IN

IO

public static final CountryCode IO

IQ

public static final CountryCode IQ

IR

public static final CountryCode IR

IS

public static final CountryCode IS

IT

public static final CountryCode IT

JE

public static final CountryCode JE

JM

public static final CountryCode JM

JO

public static final CountryCode JO

JP

public static final CountryCode JP

KE

public static final CountryCode KE

KG

public static final CountryCode KG

KH

public static final CountryCode KH

KI

public static final CountryCode KI

KM

public static final CountryCode KM

KN

public static final CountryCode KN

KP

public static final CountryCode KP

KR

public static final CountryCode KR

XK

public static final CountryCode XK

KW

public static final CountryCode KW

KY

public static final CountryCode KY

KZ

public static final CountryCode KZ

LA

public static final CountryCode LA

LB

public static final CountryCode LB

LC

public static final CountryCode LC

LI

public static final CountryCode LI

LK

public static final CountryCode LK

LR

public static final CountryCode LR

LS

public static final CountryCode LS

LT

public static final CountryCode LT

LU

public static final CountryCode LU

LV

public static final CountryCode LV

LY

public static final CountryCode LY

MA

public static final CountryCode MA

MC

public static final CountryCode MC

MD

public static final CountryCode MD

ME

public static final CountryCode ME

MF

public static final CountryCode MF

MG

public static final CountryCode MG

MH

public static final CountryCode MH

MK

public static final CountryCode MK

ML

public static final CountryCode ML

MM

public static final CountryCode MM

MN

public static final CountryCode MN

MO

public static final CountryCode MO

MP

public static final CountryCode MP

MQ

public static final CountryCode MQ

MR

public static final CountryCode MR

MS

public static final CountryCode MS

MT

public static final CountryCode MT

MU

public static final CountryCode MU

MV

public static final CountryCode MV

MW

public static final CountryCode MW

MX

public static final CountryCode MX

MY

public static final CountryCode MY

MZ

public static final CountryCode MZ

NA

public static final CountryCode NA

NC

public static final CountryCode NC

NE

public static final CountryCode NE

NF

public static final CountryCode NF

NG

public static final CountryCode NG

NI

public static final CountryCode NI

NL

public static final CountryCode NL

NO

public static final CountryCode NO

NP

public static final CountryCode NP

NR

public static final CountryCode NR

NU

public static final CountryCode NU

NZ

public static final CountryCode NZ

OM

public static final CountryCode OM

PA

public static final CountryCode PA

PE

public static final CountryCode PE

PF

public static final CountryCode PF

PG

public static final CountryCode PG

PH

public static final CountryCode PH

PK

public static final CountryCode PK

PL

public static final CountryCode PL

PM

public static final CountryCode PM

PN

public static final CountryCode PN

PR

public static final CountryCode PR

PS

public static final CountryCode PS

PT

public static final CountryCode PT

PW

public static final CountryCode PW

PY

public static final CountryCode PY

QA

public static final CountryCode QA

RE

public static final CountryCode RE

RO

public static final CountryCode RO

RS

public static final CountryCode RS

RU

public static final CountryCode RU

RW

public static final CountryCode RW

SA

public static final CountryCode SA

SB

public static final CountryCode SB

SC

public static final CountryCode SC

SD

public static final CountryCode SD

SS

public static final CountryCode SS

SE

public static final CountryCode SE

SG

public static final CountryCode SG

SH

public static final CountryCode SH

SI

public static final CountryCode SI

SJ

public static final CountryCode SJ

SK

public static final CountryCode SK

SL

public static final CountryCode SL

SM

public static final CountryCode SM

SN

public static final CountryCode SN

SO

public static final CountryCode SO

SR

public static final CountryCode SR

ST

public static final CountryCode ST

SV

public static final CountryCode SV

SX

public static final CountryCode SX

SY

public static final CountryCode SY

SZ

public static final CountryCode SZ

TC

public static final CountryCode TC

TD

public static final CountryCode TD

TF

public static final CountryCode TF

TG

public static final CountryCode TG

TH

public static final CountryCode TH

TJ

public static final CountryCode TJ

TK

public static final CountryCode TK

TL

public static final CountryCode TL

TM

public static final CountryCode TM

TN

public static final CountryCode TN

TO

public static final CountryCode TO

TR

public static final CountryCode TR

TT

public static final CountryCode TT

TV

public static final CountryCode TV

TW

public static final CountryCode TW

TZ

public static final CountryCode TZ

UA

public static final CountryCode UA

UG

public static final CountryCode UG

UM

public static final CountryCode UM

US

public static final CountryCode US

UY

public static final CountryCode UY

UZ

public static final CountryCode UZ

VA

public static final CountryCode VA

VC

public static final CountryCode VC

VE

public static final CountryCode VE

VG

public static final CountryCode VG

VI

public static final CountryCode VI

VN

public static final CountryCode VN

VU

public static final CountryCode VU

WF

public static final CountryCode WF

WS

public static final CountryCode WS

YE

public static final CountryCode YE

YT

public static final CountryCode YT

ZA

public static final CountryCode ZA

ZM

public static final CountryCode ZM

ZW

public static final CountryCode ZW

CS

public static final CountryCode CS

AN

public static final CountryCode AN

NULL

public static final CountryCode NULL
Field Detail

name

public final String name

geonameID

public final int geonameID
Method Detail

values

public static CountryCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CountryCode c : CountryCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CountryCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 Berico Technologies. All rights reserved.