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 LocaleCodeGet aLocaleCodeinstance that corresponds to the given code.static LocaleCodeGet aLocaleCodeinstance that corresponds to the given code.static LocaleCodeGet aLocaleCodeinstance that corresponds to the given pair of language code and country code.static LocaleCodeGet aLocaleCodeinstance that corresponds to the given pair of language code and country code.static LocaleCodeLocaleCode.getByCodeIgnoreCase(String code) Get aLocaleCodeinstance that corresponds to the given code.static LocaleCodeLocaleCode.getByCodeIgnoreCase(String language, String country) Get aLocaleCodeinstance that corresponds to the given pair of language code and country code.static LocaleCodeLocaleCode.getByLocale(Locale locale) Get aLocaleCodeinstance that corresponds to the givenLocaleinstance.static LocaleCodeReturns 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 ofLocaleCodeinstances whose country matches the given one.static List<LocaleCode>LocaleCode.getByCountry(String country) Get a list ofLocaleCodeinstances whose country matches the given one.static List<LocaleCode>LocaleCode.getByCountry(String country, boolean caseSensitive) Get a list ofLocaleCodeinstances whose country matches the given one.static List<LocaleCode>LocaleCode.getByCountryIgnoreCase(String country) Get a list ofLocaleCodeinstances whose country matches the given one.static List<LocaleCode>LocaleCode.getByLanguage(LanguageCode language) Get a list ofLocaleCodeinstances whose language matches the given one.static List<LocaleCode>LocaleCode.getByLanguage(String language) Get a list ofLocaleCodeinstances whose language matches the given one.static List<LocaleCode>LocaleCode.getByLanguage(String language, boolean caseSensitive) Get a list ofLocaleCodeinstances whose language matches the given one.static List<LocaleCode>LocaleCode.getByLanguageIgnoreCase(String language) Get a list ofLocaleCodeinstances whose language matches the given one.