Uses of Class
com.neovisionaries.i18n.LocaleCode
-
-
Uses of LocaleCode in com.neovisionaries.i18n
Methods in com.neovisionaries.i18n that return LocaleCode Modifier and Type Method Description static LocaleCode
LocaleCode. getByCode(java.lang.String code)
Get aLocaleCode
instance that corresponds to the given code.static LocaleCode
LocaleCode. getByCode(java.lang.String code, boolean caseSensitive)
Get aLocaleCode
instance that corresponds to the given code.static LocaleCode
LocaleCode. getByCode(java.lang.String language, java.lang.String country)
Get aLocaleCode
instance that corresponds to the given pair of language code and country code.static LocaleCode
LocaleCode. getByCode(java.lang.String language, java.lang.String country, boolean caseSensitive)
Get aLocaleCode
instance that corresponds to the given pair of language code and country code.static LocaleCode
LocaleCode. getByCodeIgnoreCase(java.lang.String code)
Get aLocaleCode
instance that corresponds to the given code.static LocaleCode
LocaleCode. getByCodeIgnoreCase(java.lang.String language, java.lang.String country)
Get aLocaleCode
instance that corresponds to the given pair of language code and country code.private static LocaleCode
LocaleCode. getByCombinedCode(java.lang.String code, boolean caseSensitive, int splitPosition)
private static LocaleCode
LocaleCode. getByEnumName(java.lang.String name)
static LocaleCode
LocaleCode. getByLocale(java.util.Locale locale)
Get aLocaleCode
instance that corresponds to the givenLocale
instance.static LocaleCode
LocaleCode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LocaleCode[]
LocaleCode. 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 LocaleCode Modifier and Type Method Description static java.util.List<LocaleCode>
LocaleCode. getByCountry(CountryCode country)
Get a list ofLocaleCode
instances whose country matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByCountry(java.lang.String country)
Get a list ofLocaleCode
instances whose country matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByCountry(java.lang.String country, boolean caseSensitive)
Get a list ofLocaleCode
instances whose country matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByCountryIgnoreCase(java.lang.String country)
Get a list ofLocaleCode
instances whose country matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByLanguage(LanguageCode language)
Get a list ofLocaleCode
instances whose language matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByLanguage(java.lang.String language)
Get a list ofLocaleCode
instances whose language matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByLanguage(java.lang.String language, boolean caseSensitive)
Get a list ofLocaleCode
instances whose language matches the given one.static java.util.List<LocaleCode>
LocaleCode. getByLanguageIgnoreCase(java.lang.String language)
Get a list ofLocaleCode
instances whose language matches the given one.
-