Uses of Enum
org.bardframework.commons.utils.data.LanguageCode
Packages that use LanguageCode
-
Uses of LanguageCode in org.bardframework.commons.utils.data
Methods in org.bardframework.commons.utils.data that return LanguageCodeModifier and TypeMethodDescriptionLanguageAlpha3Code.getAlpha2()Get ISO 639-1 language code.static LanguageCodestatic LanguageCodestatic LanguageCodeLanguageCode.getByCodeIgnoreCase(String code) static LanguageCodeLanguageCode.getByLocale(Locale locale) Get aLanguageCodethat corresponds to the language code of the givenLocaleinstance.LocaleCode.getLanguage()Get the language code.static LanguageCodeReturns the enum constant of this type with the specified name.static LanguageCode[]LanguageCode.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 LanguageCodeModifier and TypeMethodDescriptionstatic List<LanguageCode> LanguageCode.findByName(String regex) Get a list ofLanguageCodeby a name regular expression.static List<LanguageCode> LanguageCode.findByName(Pattern pattern) Get a list ofLanguageCodeby a name pattern.Methods in org.bardframework.commons.utils.data with parameters of type LanguageCodeModifier and TypeMethodDescriptionstatic List<LocaleCode> LocaleCode.getByLanguage(LanguageCode language) Get a list ofLocaleCodeinstances whose language matches the given one.