public interface LanguageManager
Manager to retrieve available languages.
| Modifier and Type | Method and Description |
|---|---|
Language |
getLanguageByCodeWithCurrentUserLocale(String languageCode)
Returns the language with the name in the current user locale specified by the language code.
|
com.google.common.collect.ImmutableSet<Language> |
getLanguagesByNamePrefixWithCurrentUserLocale(String namePrefix)
Returns the languages with the names in the current user locale filtered by the
namePrefix. |
com.google.common.collect.ImmutableSet<Language> |
getLanguagesWithCurrentUserLocale()
Returns the languages with the names in the current user locale.
|
com.google.common.collect.ImmutableSet<Language> getLanguagesWithCurrentUserLocale()
Returns the languages with the names in the current user locale.
IllegalStateException - if the current user cannot be foundRuntimeException - if the languages cannot be retrievedcom.google.common.collect.ImmutableSet<Language> getLanguagesByNamePrefixWithCurrentUserLocale(String namePrefix)
Returns the languages with the names in the current user locale filtered by the namePrefix.
namePrefix - the name prefix.IllegalStateException - if the current user cannot be foundRuntimeException - if the languages cannot be retrievedLanguage getLanguageByCodeWithCurrentUserLocale(String languageCode)
Returns the language with the name in the current user locale specified by the language code.
languageCode - the language code by which the Language should be returnedIllegalStateException - if the current user cannot be foundRuntimeException - if the languages cannot be retrievedCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.