public class LanguageManager extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Modifier and Type | Method and Description |
---|---|
void |
addLanguage(Locale locale,
Language lang) |
Collection<Language> |
getActiveLanguages() |
static LanguageManager |
getInstance() |
Language |
getLanguage(Locale locale)
Retrieves the Language for the given language Null is returned if the
corresponding Language could not be found
|
Collection<Language> |
getLanguages() |
List<String> |
getLanguagesAsString() |
void |
init() |
public void init()
public static LanguageManager getInstance()
public Collection<Language> getLanguages()
public Collection<Language> getActiveLanguages()
public Language getLanguage(Locale locale)
locale
- The language to retrieve the language forCopyright © 2008-2014 Logical Objects. All Rights Reserved.