Package | Description |
---|---|
org.apache.commons.configuration |
The Configuration main package.
|
org.apache.commons.configuration.plist |
Configuration classes supporting NeXT / OpenStep style configuration.
|
Modifier and Type | Method and Description |
---|---|
private AbstractConfiguration |
DefaultConfigurationBuilder.createConfigurationAt(DefaultConfigurationBuilder.ConfigurationDeclaration decl)
Creates a configuration object from the specified configuration
declaration.
|
protected org.w3c.dom.Document |
XMLConfiguration.createDocument()
Creates a DOM document from the internal tree of configuration nodes.
|
protected CombinedConfiguration |
DefaultConfigurationBuilder.createResultConfiguration()
Creates the resulting combined configuration.
|
Configuration |
ConfigurationFactory.getConfiguration()
Return the configuration provided by this factory.
|
Configuration |
ConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder.
|
Configuration |
DefaultConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder.
|
CombinedConfiguration |
DefaultConfigurationBuilder.getConfiguration(boolean load)
Returns the configuration provided by this builder.
|
protected void |
DefaultConfigurationBuilder.initCombinedConfiguration(CombinedConfiguration config,
java.util.List containedConfigs,
java.lang.String keyListNodes)
Initializes a combined configuration for the configurations of a specific
section.
|
void |
AbstractHierarchicalFileConfiguration.load() |
void |
FileConfiguration.load()
Load the configuration from the underlying URL.
|
void |
AbstractFileConfiguration.load()
Load the configuration from the underlying location.
|
void |
AbstractHierarchicalFileConfiguration.load(java.io.File file) |
void |
FileConfiguration.load(java.io.File file)
Load the configuration from the specified file.
|
void |
AbstractFileConfiguration.load(java.io.File file)
Load the configuration from the specified file.
|
private void |
XMLConfiguration.load(org.xml.sax.InputSource source)
Loads a configuration file from the specified input source.
|
void |
AbstractHierarchicalFileConfiguration.load(java.io.InputStream in) |
void |
FileConfiguration.load(java.io.InputStream in)
Load the configuration from the specified stream, using the encoding
returned by
FileConfiguration.getEncoding() . |
void |
XMLConfiguration.load(java.io.InputStream in)
Loads the configuration from the given input stream.
|
void |
XMLConfiguration.XMLFileConfigurationDelegate.load(java.io.InputStream in) |
void |
AbstractFileConfiguration.load(java.io.InputStream in)
Load the configuration from the specified stream, using the encoding
returned by
AbstractFileConfiguration.getEncoding() . |
void |
AbstractHierarchicalFileConfiguration.load(java.io.InputStream in,
java.lang.String encoding) |
void |
FileConfiguration.load(java.io.InputStream in,
java.lang.String encoding)
Load the configuration from the specified stream, using the specified
encoding.
|
void |
AbstractFileConfiguration.load(java.io.InputStream in,
java.lang.String encoding)
Load the configuration from the specified stream, using the specified
encoding.
|
void |
PropertiesConfiguration.load(java.io.Reader in)
Load the properties from the given reader.
|
void |
XMLPropertiesConfiguration.load(java.io.Reader in) |
void |
INIConfiguration.load(java.io.Reader reader)
Load the configuration from the given reader.
|
void |
PropertiesConfigurationLayout.load(java.io.Reader in)
Reads a properties file and stores its internal structure.
|
void |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate.load(java.io.Reader in) |
void |
FileConfiguration.load(java.io.Reader in)
Load the configuration from the specified reader.
|
void |
XMLConfiguration.load(java.io.Reader in)
Load the configuration from the given reader.
|
void |
AbstractHierarchicalFileConfiguration.load(java.lang.String fileName) |
void |
FileConfiguration.load(java.lang.String fileName)
Locate the specified file and load the configuration.
|
void |
AbstractFileConfiguration.load(java.lang.String fileName)
Locate the specified file and load the configuration.
|
void |
AbstractHierarchicalFileConfiguration.load(java.net.URL url) |
void |
FileConfiguration.load(java.net.URL url)
Load the configuration from the specified URL.
|
void |
AbstractFileConfiguration.load(java.net.URL url)
Load the configuration from the specified URL.
|
private void |
PropertiesConfiguration.loadIncludeFile(java.lang.String fileName)
Helper method for loading an included properties file.
|
(package private) boolean |
PropertiesConfiguration.propertyLoaded(java.lang.String key,
java.lang.String value)
This method is invoked by the associated
object for each
property definition detected in the parsed properties file. |
void |
AbstractHierarchicalFileConfiguration.save() |
void |
FileConfiguration.save()
Save the configuration.
|
void |
AbstractFileConfiguration.save()
Save the configuration.
|
void |
AbstractHierarchicalFileConfiguration.save(java.io.File file) |
void |
FileConfiguration.save(java.io.File file)
Save the configuration to the specified file.
|
void |
AbstractFileConfiguration.save(java.io.File file)
Save the configuration to the specified file.
|
void |
AbstractHierarchicalFileConfiguration.save(java.io.OutputStream out) |
void |
FileConfiguration.save(java.io.OutputStream out)
Save the configuration to the specified stream, using the encoding
returned by
FileConfiguration.getEncoding() . |
void |
AbstractFileConfiguration.save(java.io.OutputStream out)
Save the configuration to the specified stream, using the encoding
returned by
AbstractFileConfiguration.getEncoding() . |
void |
AbstractHierarchicalFileConfiguration.save(java.io.OutputStream out,
java.lang.String encoding) |
void |
FileConfiguration.save(java.io.OutputStream out,
java.lang.String encoding)
Save the configuration to the specified stream, using the specified
encoding.
|
void |
AbstractFileConfiguration.save(java.io.OutputStream out,
java.lang.String encoding)
Save the configuration to the specified stream, using the specified
encoding.
|
void |
AbstractHierarchicalFileConfiguration.save(java.lang.String fileName) |
void |
FileConfiguration.save(java.lang.String fileName)
Save the configuration to the specified file.
|
void |
AbstractFileConfiguration.save(java.lang.String fileName)
Save the configuration to the specified file.
|
void |
AbstractHierarchicalFileConfiguration.save(java.net.URL url) |
void |
FileConfiguration.save(java.net.URL url)
Save the configuration to the specified URL if it's a file URL.
|
void |
AbstractFileConfiguration.save(java.net.URL url)
Save the configuration to the specified URL if it's a file URL.
|
void |
PropertiesConfiguration.save(java.io.Writer writer)
Save the configuration to the specified stream.
|
void |
XMLPropertiesConfiguration.save(java.io.Writer out) |
void |
INIConfiguration.save(java.io.Writer writer)
Save the configuration to the specified writer.
|
void |
PropertiesConfigurationLayout.save(java.io.Writer out)
Writes the properties file to the given writer, preserving as much of its
structure as possible.
|
void |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate.save(java.io.Writer out) |
void |
FileConfiguration.save(java.io.Writer out)
Save the configuration to the specified writer.
|
void |
XMLConfiguration.save(java.io.Writer writer)
Saves the configuration to the specified writer.
|
Constructor and Description |
---|
AbstractFileConfiguration(java.io.File file)
Creates and loads the configuration from the specified file.
|
AbstractFileConfiguration(java.lang.String fileName)
Creates and loads the configuration from the specified file.
|
AbstractFileConfiguration(java.net.URL url)
Creates and loads the configuration from the specified URL.
|
AbstractHierarchicalFileConfiguration(java.io.File file)
Creates and loads the configuration from the specified file.
|
AbstractHierarchicalFileConfiguration(java.lang.String fileName)
Creates and loads the configuration from the specified file.
|
AbstractHierarchicalFileConfiguration(java.net.URL url)
Creates and loads the configuration from the specified URL.
|
DefaultConfigurationBuilder(java.lang.String fileName)
Creates a new instance of
DefaultConfigurationBuilder and
sets the specified configuration definition file. |
DefaultConfigurationBuilder(java.net.URL url)
Creates a new instance of
DefaultConfigurationBuilder and
sets the specified configuration definition file. |
INIConfiguration(java.io.File file)
Create and load the ini configuration from the given file.
|
INIConfiguration(java.lang.String filename)
Create and load the ini configuration from the given file.
|
INIConfiguration(java.net.URL url)
Create and load the ini configuration from the given url.
|
PropertiesConfiguration(java.io.File file)
Creates and loads the extended properties from the specified file.
|
PropertiesConfiguration(java.lang.String fileName)
Creates and loads the extended properties from the specified file.
|
PropertiesConfiguration(java.net.URL url)
Creates and loads the extended properties from the specified URL.
|
XMLConfiguration(java.io.File file)
Creates a new instance of
XMLConfiguration . |
XMLConfiguration(java.lang.String fileName)
Creates a new instance of
XMLConfiguration . |
XMLConfiguration(java.net.URL url)
Creates a new instance of
XMLConfiguration . |
XMLPropertiesConfiguration(java.io.File file)
Creates and loads the xml properties from the specified file.
|
XMLPropertiesConfiguration(java.lang.String fileName)
Creates and loads the xml properties from the specified file.
|
XMLPropertiesConfiguration(java.net.URL url)
Creates and loads the xml properties from the specified URL.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLPropertyListConfiguration.load(java.io.Reader in) |
void |
PropertyListConfiguration.load(java.io.Reader in) |
void |
XMLPropertyListConfiguration.save(java.io.Writer out) |
void |
PropertyListConfiguration.save(java.io.Writer out) |
Constructor and Description |
---|
PropertyListConfiguration(java.io.File file)
Creates and loads the property list from the specified file.
|
PropertyListConfiguration(java.lang.String fileName)
Creates and loads the property list from the specified file.
|
PropertyListConfiguration(java.net.URL url)
Creates and loads the property list from the specified URL.
|
XMLPropertyListConfiguration(java.io.File file)
Creates and loads the property list from the specified file.
|
XMLPropertyListConfiguration(java.lang.String fileName)
Creates and loads the property list from the specified file.
|
XMLPropertyListConfiguration(java.net.URL url)
Creates and loads the property list from the specified URL.
|