Uses of Enum
org.bardframework.commons.utils.data.LocaleCode
Packages that use LocaleCode
-
Uses of LocaleCode in org.bardframework.commons.utils.data
Methods in org.bardframework.commons.utils.data 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 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 org.bardframework.commons.utils.data that return types with arguments of type LocaleCodeModifier and TypeMethodDescriptionstatic 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.getByCountry(CountryCode country) 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(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.getByLanguage(LanguageCode language) 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.