Uses of Enum Class
com.luna.common.i18n.LanguageCode
Packages that use LanguageCode
-
Uses of LanguageCode in com.luna.common.i18n
Methods in com.luna.common.i18n that return LanguageCodeModifier and TypeMethodDescriptionLanguageAlpha3Code.getAlpha2()
Get ISO 639-1 language code.static LanguageCode
static LanguageCode
static LanguageCode
LanguageCode.getByCodeIgnoreCase
(String code) static LanguageCode
LanguageCode.getByLocale
(Locale locale) Get aLanguageCode
that corresponds to the language code of the givenLocale
instance.LocaleCode.getLanguage()
Get the language code.static LanguageCode
Returns the enum constant of this class with the specified name.static LanguageCode[]
LanguageCode.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 LanguageCodeModifier and TypeMethodDescriptionstatic List<LanguageCode>
LanguageCode.findByName
(String regex) Get a list ofLanguageCode
by a name regular expression.static List<LanguageCode>
LanguageCode.findByName
(Pattern pattern) Get a list ofLanguageCode
by a name pattern.Methods in com.luna.common.i18n with parameters of type LanguageCodeModifier and TypeMethodDescriptionstatic List<LocaleCode>
LocaleCode.getByLanguage
(LanguageCode language) Get a list ofLocaleCode
instances whose language matches the given one.