Class PentahoResourceBundleFactory

  • All Implemented Interfaces:
    Serializable, org.pentaho.reporting.engine.classic.core.ResourceBundleFactory
    Direct Known Subclasses:
    PentahoResourceBundleFactory

    public class PentahoResourceBundleFactory
    extends Object
    implements org.pentaho.reporting.engine.classic.core.ResourceBundleFactory
    The resource-bundle factory is responsible for loading referenced resourcebundles. The default action is to load these bundles using the standard JDK methods. If no bundle-name is given, the default name for the xaction's assigned resource-bundle is used instead.
    See Also:
    Serialized Form
    • Constructor Detail

      • PentahoResourceBundleFactory

        public PentahoResourceBundleFactory​(String inPath,
                                            String inBaseName,
                                            org.pentaho.platform.api.engine.IPentahoSession inSession)
    • Method Detail

      • getLocale

        public Locale getLocale()
        Specified by:
        getLocale in interface org.pentaho.reporting.engine.classic.core.ResourceBundleFactory
      • getResourceBundle

        public ResourceBundle getResourceBundle​(String resourceName)
        Specified by:
        getResourceBundle in interface org.pentaho.reporting.engine.classic.core.ResourceBundleFactory
      • getTimeZone

        public TimeZone getTimeZone()
        Specified by:
        getTimeZone in interface org.pentaho.reporting.engine.classic.core.ResourceBundleFactory