Package org.jfree.base.config
Class PropertyFileConfiguration
java.lang.Object
org.jfree.base.config.HierarchicalConfiguration
org.jfree.base.config.PropertyFileConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
,ModifiableConfiguration
,Configuration
,PublicCloneable
- Direct Known Subclasses:
PackageManager.PackageConfiguration
A report configuration that reads its values from an arbitary property file.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jfree.base.config.HierarchicalConfiguration
clone, configurationLoaded, findPropertyKeys, getConfigProperties, getConfigProperty, getConfigProperty, getConfiguration, getParentConfig, insertConfiguration, isLocallyDefined, isParentSaved, setConfigProperty, setParentConfig
-
Constructor Details
-
PropertyFileConfiguration
public PropertyFileConfiguration()Default constructor.
-
-
Method Details
-
load
Load the properties in the given file.- Parameters:
resourceName
- the file name.
-
load
Loads the properties stored in the given file. This method does nothing if the file does not exist or is unreadable. Appends the contents of the loaded properties to the already stored contents.- Parameters:
resourceName
- the file name of the stored properties.resourceSource
- ?
-
load
Loads the properties stored in the given file. This method does nothing if the file does not exist or is unreadable. Appends the contents of the loaded properties to the already stored contents.- Parameters:
in
- the input stream used to read the properties.
-