org.pentaho.platform.plugin.action.jfreereport.helper
Class PentahoResourceBundleFactory

java.lang.Object
  extended by org.pentaho.platform.plugin.action.jfreereport.helper.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

Field Summary
 
Fields inherited from interface org.pentaho.reporting.engine.classic.core.ResourceBundleFactory
DEFAULT_RESOURCE_BUNDLE_CONFIG_KEY
 
Constructor Summary
PentahoResourceBundleFactory(String inPath, String inBaseName, IPentahoSession inSession)
           
 
Method Summary
 Locale getLocale()
           
 ResourceBundle getResourceBundle(String resourceName)
           
 TimeZone getTimeZone()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PentahoResourceBundleFactory

public PentahoResourceBundleFactory(String inPath,
                                    String inBaseName,
                                    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