Uses of Class
com.neovisionaries.i18n.CountryCode
-
-
Uses of CountryCode in com.neovisionaries.i18n
Fields in com.neovisionaries.i18n declared as CountryCode Modifier and Type Field Description private CountryCodeLocaleCode. countryFields in com.neovisionaries.i18n with type parameters of type CountryCode Modifier and Type Field Description private static java.util.Map<java.lang.String,CountryCode>CountryCode. alpha3Mapprivate static java.util.Map<java.lang.String,CountryCode>CountryCode. alpha4Mapprivate java.util.List<CountryCode>CurrencyCode. countryListprivate static java.util.Map<java.lang.Integer,CountryCode>CountryCode. numericMapMethods in com.neovisionaries.i18n that return CountryCode Modifier and Type Method Description static CountryCodeCountryCode. getByAlpha2Code(java.lang.String code)Get aCountryCodethat corresponds to the given ISO 3166-1 alpha-2 code.static CountryCodeCountryCode. getByAlpha3Code(java.lang.String code)Get aCountryCodethat corresponds to the given ISO 3166-1 alpha-3 code.static CountryCodeCountryCode. getByAlpha4Code(java.lang.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 CountryCodeCountryCode. getByCode(java.lang.String code)static CountryCodeCountryCode. getByCode(java.lang.String code, boolean caseSensitive)static CountryCodeCountryCode. getByCodeIgnoreCase(java.lang.String code)static CountryCodeCountryCode. getByLocale(java.util.Locale locale)Get aCountryCodethat corresponds to the country code of the givenLocaleinstance.CountryCodeLocaleCode. getCountry()Get the country code.static CountryCodeCountryCode. valueOf(java.lang.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.Methods in com.neovisionaries.i18n that return types with arguments of type CountryCode Modifier and Type Method Description static java.util.List<CountryCode>CountryCode. findByName(java.lang.String regex)Get a list ofCountryCodeby a name regular expression.static java.util.List<CountryCode>CountryCode. findByName(java.util.regex.Pattern pattern)Get a list ofCountryCodeby a name pattern.java.util.List<CountryCode>CurrencyCode. getCountryList()Get the list of countries using this currency.Methods in com.neovisionaries.i18n with parameters of type CountryCode Modifier and Type Method Description static java.util.List<CurrencyCode>CurrencyCode. getByCountry(CountryCode country)Get a list ofCurrencyCodeinstances whose country list contains the specified country.static java.util.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 CountryCode Constructor Description CurrencyCode(java.lang.String name, int numeric, int minorUnit, CountryCode... countries)LocaleCode(LanguageCode language, CountryCode country)
-