Class 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.
      • 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