| Modifier and Type | Method and Description |
|---|---|
static MenusLocalization |
getInstance()
Return the unique instance.
|
java.lang.String |
getLanguage()
Return the language used for the localization.
|
MenusLocalizationFactory |
getMenusLocalizationFactory()
Return the localization factory.
|
java.lang.String |
getMenuText(java.lang.String menuKey)
Return the text for a menu key.
|
void |
setLocale(java.util.Locale locale)
Set the locale used for the localization.
|
void |
setLocale(java.lang.String lang)
Set the locale used for the localization.
|
void |
setMenusLocalizationFactory(MenusLocalizationFactory localizationFactory)
Set the localization factory.
|
public static MenusLocalization getInstance()
public void setMenusLocalizationFactory(MenusLocalizationFactory localizationFactory)
localizationFactory - the localization factorypublic MenusLocalizationFactory getMenusLocalizationFactory()
public void setLocale(java.lang.String lang)
lang - the locale languagepublic void setLocale(java.util.Locale locale)
locale - the localepublic java.lang.String getLanguage()
public java.lang.String getMenuText(java.lang.String menuKey)
menuKey - the me nu key