public interface LanguageManager
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()
IllegalStateException
- if the current user cannot be foundRuntimeException
- if the languages cannot be retrievedcom.google.common.collect.ImmutableSet<Language> getLanguagesByNamePrefixWithCurrentUserLocale(String namePrefix)
namePrefix
.namePrefix
- the name prefix.IllegalStateException
- if the current user cannot be foundRuntimeException
- if the languages cannot be retrievedLanguage getLanguageByCodeWithCurrentUserLocale(String languageCode)
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 - 2017 edorasware ag. All Rights Reserved.