org.opencms.i18n
Class CmsI18nInfo

java.lang.Object
  extended by 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
Version:
$Revision: 1.11 $
Author:
Alexander Kandzior

Constructor Summary
CmsI18nInfo(java.util.Locale locale, java.lang.String encoding)
          Generates a new i18n info object.
 
Method Summary
 java.lang.String getEncoding()
          Returns the encoding to use.
 java.util.Locale getLocale()
          Returns the locale to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsI18nInfo

public CmsI18nInfo(java.util.Locale locale,
                   java.lang.String encoding)
Generates a new i18n info object.

Parameters:
locale - the locale to use
encoding - 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