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 CountryCodeCountryCode.getByAlpha2Code(String code) Get aCountryCodethat corresponds to the given ISO 3166-1 alpha-2 code.static CountryCodeCountryCode.getByAlpha3Code(String code) Get aCountryCodethat corresponds to the given ISO 3166-1 alpha-3 code.static CountryCodeCountryCode.getByAlpha4Code(String code) Get aCountryCodethat corresponds to the given alpha-4 code.static CountryCodeCountryCode.getByCode(int code) Get aCountryCodethat corresponds to the given ISO 3166-1 numeric code.static CountryCodestatic CountryCodestatic CountryCodeCountryCode.getByCodeIgnoreCase(String code) static CountryCodeCountryCode.getByLocale(Locale locale) Get aCountryCodethat corresponds to the country code of the givenLocaleinstance.LocaleCode.getCountry()Get the country code.static CountryCodeReturns 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 ofCountryCodeby a name regular expression.static List<CountryCode>CountryCode.findByName(Pattern pattern) Get a list ofCountryCodeby 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 ofCurrencyCodeinstances whose country list contains the specified country.static List<LocaleCode>LocaleCode.getByCountry(CountryCode country) Get a list ofLocaleCodeinstances whose country matches the given one.