Uses of Enum Class
com.luna.common.i18n.LocaleCode
Packages that use LocaleCode
-
Uses of LocaleCode in com.luna.common.i18n
Methods in com.luna.common.i18n that return LocaleCodeModifier and TypeMethodDescriptionstatic LocaleCode
Get aLocaleCode
instance that corresponds to the given code.static LocaleCode
Get aLocaleCode
instance that corresponds to the given code.static LocaleCode
Get aLocaleCode
instance that corresponds to the given pair of language code and country code.static LocaleCode
Get aLocaleCode
instance that corresponds to the given pair of language code and country code.static LocaleCode
LocaleCode.getByCodeIgnoreCase
(String code) Get aLocaleCode
instance that corresponds to the given code.static LocaleCode
LocaleCode.getByCodeIgnoreCase
(String language, String country) Get aLocaleCode
instance that corresponds to the given pair of language code and country code.static LocaleCode
LocaleCode.getByLocale
(Locale locale) Get aLocaleCode
instance that corresponds to the givenLocale
instance.static LocaleCode
Returns the enum constant of this class with the specified name.static LocaleCode[]
LocaleCode.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 LocaleCodeModifier and TypeMethodDescriptionstatic List<LocaleCode>
LocaleCode.getByCountry
(CountryCode country) Get a list ofLocaleCode
instances whose country matches the given one.static List<LocaleCode>
LocaleCode.getByCountry
(String country) Get a list ofLocaleCode
instances whose country matches the given one.static List<LocaleCode>
LocaleCode.getByCountry
(String country, boolean caseSensitive) Get a list ofLocaleCode
instances whose country matches the given one.static List<LocaleCode>
LocaleCode.getByCountryIgnoreCase
(String country) Get a list ofLocaleCode
instances whose country matches the given one.static List<LocaleCode>
LocaleCode.getByLanguage
(LanguageCode language) Get a list ofLocaleCode
instances whose language matches the given one.static List<LocaleCode>
LocaleCode.getByLanguage
(String language) Get a list ofLocaleCode
instances whose language matches the given one.static List<LocaleCode>
LocaleCode.getByLanguage
(String language, boolean caseSensitive) Get a list ofLocaleCode
instances whose language matches the given one.static List<LocaleCode>
LocaleCode.getByLanguageIgnoreCase
(String language) Get a list ofLocaleCode
instances whose language matches the given one.