Class LanguageInfo
java.lang.Object
org.jgrapes.webconsole.base.freemarker.LanguageInfo
Holds the information about a supported language.
Used by
FreeMarkerConsoleWeblet.expandConsoleModel(Map, org.jgrapes.http.events.Request.In.Get, UUID)
and
FreeMarkerConlet.fmSessionModel(org.jgrapes.http.Session)
to provide the function “supportedLanguages” during template
evaluation.
-
Constructor Summary
ConstructorDescriptionLanguageInfo
(Locale locale, ResourceBundle bundle) Instantiates a new language info. -
Method Summary
-
Constructor Details
-
LanguageInfo
Instantiates a new language info.- Parameters:
locale
- the locale
-
-
Method Details
-
getLocale
Gets the locale.- Returns:
- the locale
-
getLabel
Gets the label.- Returns:
- the label
-
getL10nBundle
Gets the bundle.- Returns:
- the bundle
-