public interface LanguageService
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSortedSet<Language> |
getLanguages()
Returns the languages with the names in the default locale (
Locale.getDefault() ). |
com.google.common.collect.ImmutableSortedSet<Language> |
getLanguages(Locale displayLocale)
Returns the languages in the specified display locale.
|
com.google.common.collect.ImmutableSortedSet<Language> getLanguages()
Locale.getDefault()
).IllegalStateException
- if the languages cannot be retrieved from the language cachecom.google.common.collect.ImmutableSortedSet<Language> getLanguages(Locale displayLocale)
displayLocale
- the locale with which the Language.getName()
is returned. If it is null or has an empty language code the languages are
returned in the default localeIllegalStateException
- if the languages cannot be retrieved from the language cacheCopyright © 2010 - 2016 edorasware ag. All Rights Reserved.