Enum Class CountryCode

java.lang.Object
java.lang.Enum<CountryCode>
org.bardframework.commons.utils.data.CountryCode
All Implemented Interfaces:
Serializable, Comparable<CountryCode>, Constable

public enum CountryCode extends Enum<CountryCode>
ISO 3166-1 country code. Enum names of this enum themselves are represented by ISO 3166-1 alpha-2 code (2-letter upper-case alphabets). There are instance methods to get the country name (getName()), the ISO 3166-1 alpha-3 code (getAlpha3()) and the ISO 3166-1 numeric code (getNumeric()). In addition, there are static methods to get a CountryCode instance that corresponds to a given alpha-2/alpha-3/numeric code (getByCode(String), getByCode(int)).