Package org.opencms.i18n
Class CmsI18nInfo
- java.lang.Object
-
- org.opencms.i18n.CmsI18nInfo
-
public class CmsI18nInfo extends java.lang.Object
Bundle of i18n setting to be used to setup a new request context.- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsI18nInfo(java.util.Locale locale, java.lang.String encoding)
Generates a new i18n info object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEncoding()
Returns the encoding to use.java.util.Locale
getLocale()
Returns the locale to use.
-
-
-
Constructor Detail
-
CmsI18nInfo
public CmsI18nInfo(java.util.Locale locale, java.lang.String encoding)
Generates a new i18n info object.- Parameters:
locale
- the locale to useencoding
- the encoding to use
-
-
Method Detail
-
getEncoding
public java.lang.String getEncoding()
Returns the encoding to use.- Returns:
- the encoding to use
-
getLocale
public java.util.Locale getLocale()
Returns the locale to use.- Returns:
- the locale to use
-
-