| Modifier and Type | Method and Description |
|---|---|
static CountryCode |
CountryCode.getByCode(int code)
Get a CountryCode that corresponds to the given
ISO 3166-1
numeric code.
|
static CountryCode |
CountryCode.getByCode(String code)
|
static CountryCode |
CountryCode.getByCode(String code,
boolean caseSensitive)
|
static CountryCode |
CountryCode.getByLocale(Locale locale)
Get a CountryCode that corresponds to the country code of
the given
Locale instance. |
CountryCode |
LocaleCode.getCountry()
Get the country code.
|
static CountryCode |
CountryCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CountryCode[] |
CountryCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static List<LocaleCode> |
LocaleCode.getByCountry(CountryCode country)
Get a list of
LocaleCode instances whose country matches the given one. |
Copyright © 2013. All rights reserved.