public class PropertyFileConfiguration extends HierarchicalConfiguration
| Constructor and Description | 
|---|
PropertyFileConfiguration()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
load(InputStream in)
Loads the properties stored in the given file. 
 | 
void | 
load(String resourceName)
Lods the property file from a classpath resource name. 
 | 
void | 
load(String resourceName,
    Class resourceSource)
Loads the properties stored in the given file. 
 | 
addAll, clone, findPropertyKeys, getConfigProperties, getConfigProperty, getConfigProperty, insertConfiguration, isLocallyDefined, reconnectConfiguration, setConfigPropertypublic PropertyFileConfiguration()
public void load(String resourceName)
PropertyFileConfiguration.class.getResource(..)resourceName - the resource name to be loaded.public void load(String resourceName, Class resourceSource)
resourceName - the file name of the stored properties.resourceSource - the class to which relative resource paths are resolved.public void load(InputStream in)
in - the input stream used to read the properties.