java.io.Serializable, java.lang.Cloneable, Configuration, ModifiableConfigurationPackageManager.PackageConfigurationpublic class PropertyFileConfiguration extends HierarchicalConfiguration
| Constructor | Description |
|---|---|
PropertyFileConfiguration() |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
clone, findPropertyKeys, getConfigProperties, getConfigProperty, getConfigProperty, insertConfiguration, isLocallyDefined, setConfigPropertypublic PropertyFileConfiguration()
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.