Uses of Enum
com.neovisionaries.i18n.CountryCode
-
Uses of CountryCode in com.neovisionaries.i18n
Subclasses with type arguments of type CountryCode in com.neovisionaries.i18nFields in com.neovisionaries.i18n declared as CountryCodeFields in com.neovisionaries.i18n with type parameters of type CountryCodeModifier and TypeFieldDescriptionprivate static final Map<String, CountryCode> CountryCode.alpha3Mapprivate static final Map<String, CountryCode> CountryCode.alpha4Mapprivate final List<CountryCode> CurrencyCode.countryListprivate static final Map<Integer, CountryCode> CountryCode.numericMapMethods in com.neovisionaries.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 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.Methods in com.neovisionaries.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.neovisionaries.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.Constructors in com.neovisionaries.i18n with parameters of type CountryCodeModifierConstructorDescriptionprivateCurrencyCode(String name, int numeric, int minorUnit, CountryCode... countries) privateLocaleCode(LanguageCode language, CountryCode country)