|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.base.config.HierarchicalConfiguration
org.pentaho.reporting.libraries.base.config.PropertyFileConfiguration
public class PropertyFileConfiguration
A report configuration that reads its values from an arbitary property file.
| Constructor Summary | |
|---|---|
PropertyFileConfiguration()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
load(java.io.InputStream in)
Loads the properties stored in the given file. |
void |
load(java.lang.String resourceName)
Lods the property file from a classpath resource name. |
void |
load(java.lang.String resourceName,
java.lang.Class resourceSource)
Loads the properties stored in the given file. |
| Methods inherited from class org.pentaho.reporting.libraries.base.config.HierarchicalConfiguration |
|---|
clone, findPropertyKeys, getConfigProperties, getConfigProperty, getConfigProperty, insertConfiguration, isLocallyDefined, setConfigProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyFileConfiguration()
| Method Detail |
|---|
public void load(java.lang.String resourceName)
PropertyFileConfiguration.class.getResource(..)
resourceName - the resource name to be loaded.
public void load(java.lang.String resourceName,
java.lang.Class resourceSource)
resourceName - the file name of the stored properties.resourceSource - the class to which relative resource paths are resolved.public void load(java.io.InputStream in)
in - the input stream used to read the properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||