public class LanguagesManager extends Object implements Configurable, Component
| Modifier and Type | Field and Description | 
|---|---|
private Map<String,Language> | 
_languages  | 
static String | 
ROLE
The component role 
 | 
| Constructor and Description | 
|---|
LanguagesManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
configure(Configuration configuration)  | 
Map<String,Language> | 
getAvailableLanguages()
Get the list of possible languages 
 | 
Language | 
getLanguage(String code)
Get the language by its code 
 | 
private Map<String,Language> _languages
public LanguagesManager()
public void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic Language getLanguage(String code)
code - The language codenull if not foundpublic Map<String,Language> getAvailableLanguages()