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 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 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 ofLanguageCodeby a name regular expression.static List<LanguageCode>LanguageCode.findByName(Pattern pattern) Get a list ofLanguageCodeby 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 ofLocaleCodeinstances whose language matches the given one.