Package org.opencms.i18n
Class CmsI18nInfo
java.lang.Object
org.opencms.i18n.CmsI18nInfo
Bundle of i18n setting to be used to setup a new request context.
- Since:
- 6.0.0
-
Constructor Summary
ConstructorDescriptionCmsI18nInfo
(Locale locale, String encoding) Generates a new i18n info object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the encoding to use.Returns the locale to use.
-
Constructor Details
-
CmsI18nInfo
Generates a new i18n info object.- Parameters:
locale
- the locale to useencoding
- the encoding to use
-
-
Method Details
-
getEncoding
Returns the encoding to use.- Returns:
- the encoding to use
-
getLocale
Returns the locale to use.- Returns:
- the locale to use
-