Class CmsI18nInfo

java.lang.Object
org.opencms.i18n.CmsI18nInfo

public class CmsI18nInfo extends Object
Bundle of i18n setting to be used to setup a new request context.

Since:
6.0.0
  • Constructor Details

    • CmsI18nInfo

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

      Parameters:
      locale - the locale to use
      encoding - the encoding to use
  • Method Details

    • getEncoding

      public String getEncoding()
      Returns the encoding to use.

      Returns:
      the encoding to use
    • getLocale

      public Locale getLocale()
      Returns the locale to use.

      Returns:
      the locale to use