Uses of Enum Class
com.luna.common.i18n.CountryCode
Packages that use CountryCode
-
Uses of CountryCode in com.luna.common.i18n
Methods in com.luna.common.i18n that return CountryCodeModifier and TypeMethodDescriptionstatic CountryCode
CountryCode.getByAlpha2Code
(String code) Get aCountryCode
that corresponds to the given ISO 3166-1 alpha-2 code.static CountryCode
CountryCode.getByAlpha3Code
(String code) Get aCountryCode
that corresponds to the given ISO 3166-1 alpha-3 code.static CountryCode
CountryCode.getByAlpha4Code
(String code) Get aCountryCode
that corresponds to the given alpha-4 code.static CountryCode
CountryCode.getByCode
(int code) Get aCountryCode
that corresponds to the given ISO 3166-1 numeric code.static CountryCode
static CountryCode
static CountryCode
CountryCode.getByCodeIgnoreCase
(String code) static CountryCode
CountryCode.getByLocale
(Locale locale) Get aCountryCode
that corresponds to the country code of the givenLocale
instance.LocaleCode.getCountry()
Get the country code.static CountryCode
Returns the enum constant of this class with the specified name.static CountryCode[]
CountryCode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.luna.common.i18n that return types with arguments of type CountryCodeModifier and TypeMethodDescriptionstatic List<CountryCode>
CountryCode.findByName
(String regex) Get a list ofCountryCode
by a name regular expression.static List<CountryCode>
CountryCode.findByName
(Pattern pattern) Get a list ofCountryCode
by a name pattern.CurrencyCode.getCountryList()
Get the list of countries using this currency.Methods in com.luna.common.i18n with parameters of type CountryCodeModifier and TypeMethodDescriptionstatic List<CurrencyCode>
CurrencyCode.getByCountry
(CountryCode country) Get a list ofCurrencyCode
instances whose country list contains the specified country.static List<LocaleCode>
LocaleCode.getByCountry
(CountryCode country) Get a list ofLocaleCode
instances whose country matches the given one.