public class SakaiLocaleNameProvider extends LocaleNameProvider
LocaleNameProvider which provides localized
names for Locale.| Constructor and Description |
|---|
SakaiLocaleNameProvider() |
| Modifier and Type | Method and Description |
|---|---|
Locale[] |
getAvailableLocales() |
String |
getDisplayCountry(String countryCode,
Locale locale) |
String |
getDisplayLanguage(String languageCode,
Locale locale) |
String |
getDisplayVariant(String variant,
Locale locale) |
getDisplayScriptisSupportedLocalepublic Locale[] getAvailableLocales()
getAvailableLocales in class LocaleServiceProviderpublic String getDisplayCountry(String countryCode, Locale locale) throws IllegalArgumentException, NullPointerException
getDisplayCountry in class LocaleNameProviderIllegalArgumentExceptionNullPointerExceptionpublic String getDisplayLanguage(String languageCode, Locale locale) throws IllegalArgumentException, NullPointerException
getDisplayLanguage in class LocaleNameProviderIllegalArgumentExceptionNullPointerExceptionpublic String getDisplayVariant(String variant, Locale locale) throws IllegalArgumentException, NullPointerException
getDisplayVariant in class LocaleNameProviderIllegalArgumentExceptionNullPointerExceptionCopyright © 2003–2019 Sakai Project. All rights reserved.