Package | Description |
---|---|
org.apache.commons.configuration |
The Configuration main package.
|
org.apache.commons.configuration.plist |
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultConfigurationBuilder.configureEntityResolver() |
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()
Deprecated.
Return the configuration provided by this factory.
|
Configuration |
DefaultConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder.
|
Configuration |
ConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder.
|
CombinedConfiguration |
DefaultConfigurationBuilder.getConfiguration(boolean load)
Returns the configuration provided by this builder.
|
java.io.InputStream |
VFSFileSystem.getInputStream(java.lang.String basePath,
java.lang.String fileName) |
java.io.InputStream |
DefaultFileSystem.getInputStream(java.lang.String basePath,
java.lang.String fileName) |
abstract java.io.InputStream |
FileSystem.getInputStream(java.lang.String basePath,
java.lang.String fileName) |
java.io.InputStream |
VFSFileSystem.getInputStream(java.net.URL url) |
java.io.InputStream |
DefaultFileSystem.getInputStream(java.net.URL url) |
abstract java.io.InputStream |
FileSystem.getInputStream(java.net.URL url) |
java.io.OutputStream |
DefaultFileSystem.getOutputStream(java.io.File file) |
abstract java.io.OutputStream |
FileSystem.getOutputStream(java.io.File file) |
java.io.OutputStream |
VFSFileSystem.getOutputStream(java.net.URL url) |
java.io.OutputStream |
DefaultFileSystem.getOutputStream(java.net.URL url) |
abstract java.io.OutputStream |
FileSystem.getOutputStream(java.net.URL url) |
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.
|
protected void |
DefaultConfigurationBuilder.initFileSystem() |
protected void |
DefaultConfigurationBuilder.initSystemProperties()
If a property file is configured add the properties to the System properties.
|
void |
FileConfiguration.load()
Load the configuration from the underlying URL.
|
void |
AbstractHierarchicalFileConfiguration.load() |
void |
AbstractFileConfiguration.load()
Load the configuration from the underlying location.
|
void |
MultiFileHierarchicalConfiguration.load() |
void |
FileConfiguration.load(java.io.File file)
Load the configuration from the specified file.
|
void |
AbstractHierarchicalFileConfiguration.load(java.io.File file) |
void |
AbstractFileConfiguration.load(java.io.File file)
Load the configuration from the specified file.
|
void |
MultiFileHierarchicalConfiguration.load(java.io.File file) |
void |
FileConfiguration.load(java.io.InputStream in)
Load the configuration from the specified stream, using the encoding
returned by
FileConfiguration.getEncoding() . |
void |
AbstractHierarchicalFileConfiguration.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 |
MultiFileHierarchicalConfiguration.load(java.io.InputStream in) |
void |
XMLConfiguration.load(java.io.InputStream in)
Loads the configuration from the given input stream.
|
void |
FileConfiguration.load(java.io.InputStream in,
java.lang.String encoding)
Load the configuration from the specified stream, using the specified
encoding.
|
void |
AbstractHierarchicalFileConfiguration.load(java.io.InputStream in,
java.lang.String encoding) |
void |
AbstractFileConfiguration.load(java.io.InputStream in,
java.lang.String encoding)
Load the configuration from the specified stream, using the specified
encoding.
|
void |
MultiFileHierarchicalConfiguration.load(java.io.InputStream in,
java.lang.String encoding) |
void |
PatternSubtreeConfigurationWrapper.load(java.io.Reader reader) |
void |
PropertiesConfiguration.load(java.io.Reader in)
Load the properties from the given reader.
|
void |
HierarchicalINIConfiguration.load(java.io.Reader reader)
Load the configuration from the given reader.
|
void |
FileConfiguration.load(java.io.Reader in)
Load the configuration from the specified reader.
|
void |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate.load(java.io.Reader in) |
void |
INIConfiguration.load(java.io.Reader reader)
Deprecated.
Load the configuration from the given reader.
|
void |
PropertiesConfigurationLayout.load(java.io.Reader in)
Reads a properties file and stores its internal structure.
|
void |
MultiFileHierarchicalConfiguration.load(java.io.Reader reader) |
void |
XMLPropertiesConfiguration.load(java.io.Reader in) |
void |
XMLConfiguration.load(java.io.Reader in)
Load the configuration from the given reader.
|
void |
FileConfiguration.load(java.lang.String fileName)
Locate the specified file and load the configuration.
|
void |
AbstractHierarchicalFileConfiguration.load(java.lang.String fileName) |
void |
AbstractFileConfiguration.load(java.lang.String fileName)
Locate the specified file and load the configuration.
|
void |
MultiFileHierarchicalConfiguration.load(java.lang.String fileName) |
void |
FileConfiguration.load(java.net.URL url)
Load the configuration from the specified URL.
|
void |
AbstractHierarchicalFileConfiguration.load(java.net.URL url) |
void |
AbstractFileConfiguration.load(java.net.URL url)
Load the configuration from the specified URL.
|
void |
MultiFileHierarchicalConfiguration.load(java.net.URL url) |
void |
AbstractHierarchicalFileConfiguration.refresh()
Reloads the associated configuration file.
|
void |
AbstractFileConfiguration.refresh()
Reloads the associated configuration file.
|
protected void |
DefaultConfigurationBuilder.registerConfiguredLookups()
Registers StrLookups defined in the configuration.
|
protected void |
DefaultConfigurationBuilder.registerConfiguredProviders()
Registers providers defined in the configuration.
|
void |
FileConfiguration.save()
Save the configuration.
|
void |
AbstractHierarchicalFileConfiguration.save() |
void |
AbstractFileConfiguration.save()
Save the configuration.
|
void |
MultiFileHierarchicalConfiguration.save() |
void |
FileConfiguration.save(java.io.File file)
Save the configuration to the specified file.
|
void |
AbstractHierarchicalFileConfiguration.save(java.io.File file) |
void |
AbstractFileConfiguration.save(java.io.File file)
Save the configuration to the specified file.
|
void |
MultiFileHierarchicalConfiguration.save(java.io.File file) |
void |
FileConfiguration.save(java.io.OutputStream out)
Save the configuration to the specified stream, using the encoding
returned by
FileConfiguration.getEncoding() . |
void |
AbstractHierarchicalFileConfiguration.save(java.io.OutputStream out) |
void |
AbstractFileConfiguration.save(java.io.OutputStream out)
Save the configuration to the specified stream, using the encoding
returned by
AbstractFileConfiguration.getEncoding() . |
void |
MultiFileHierarchicalConfiguration.save(java.io.OutputStream out) |
void |
FileConfiguration.save(java.io.OutputStream out,
java.lang.String encoding)
Save the configuration to the specified stream, using the specified
encoding.
|
void |
AbstractHierarchicalFileConfiguration.save(java.io.OutputStream out,
java.lang.String encoding) |
void |
AbstractFileConfiguration.save(java.io.OutputStream out,
java.lang.String encoding)
Save the configuration to the specified stream, using the specified
encoding.
|
void |
MultiFileHierarchicalConfiguration.save(java.io.OutputStream out,
java.lang.String encoding) |
void |
FileConfiguration.save(java.lang.String fileName)
Save the configuration to the specified file.
|
void |
AbstractHierarchicalFileConfiguration.save(java.lang.String fileName) |
void |
AbstractFileConfiguration.save(java.lang.String fileName)
Save the configuration to the specified file.
|
void |
MultiFileHierarchicalConfiguration.save(java.lang.String fileName) |
void |
FileConfiguration.save(java.net.URL url)
Save the configuration to the specified URL.
|
void |
AbstractHierarchicalFileConfiguration.save(java.net.URL url) |
void |
AbstractFileConfiguration.save(java.net.URL url)
Save the configuration to the specified URL.
|
void |
MultiFileHierarchicalConfiguration.save(java.net.URL url) |
void |
PatternSubtreeConfigurationWrapper.save(java.io.Writer writer) |
void |
PropertiesConfiguration.save(java.io.Writer writer)
Save the configuration to the specified stream.
|
void |
HierarchicalINIConfiguration.save(java.io.Writer writer)
Save the configuration to the specified writer.
|
void |
FileConfiguration.save(java.io.Writer out)
Save the configuration to the specified writer.
|
void |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate.save(java.io.Writer out) |
void |
INIConfiguration.save(java.io.Writer writer)
Deprecated.
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 |
MultiFileHierarchicalConfiguration.save(java.io.Writer writer) |
void |
XMLPropertiesConfiguration.save(java.io.Writer out) |
void |
XMLConfiguration.save(java.io.Writer writer)
Saves the configuration to the specified writer.
|
void |
XMLConfiguration.validate()
Validate the document against the Schema.
|
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. |
HierarchicalINIConfiguration(java.io.File file)
Create and load the ini configuration from the given file.
|
HierarchicalINIConfiguration(java.lang.String filename)
Create and load the ini configuration from the given file.
|
HierarchicalINIConfiguration(java.net.URL url)
Create and load the ini configuration from the given url.
|
INIConfiguration(java.io.File file)
Deprecated.
Create and load the ini configuration from the given file.
|
INIConfiguration(java.lang.String filename)
Deprecated.
Create and load the ini configuration from the given file.
|
INIConfiguration(java.net.URL url)
Deprecated.
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 |
PropertyListConfiguration.load(java.io.Reader in) |
void |
XMLPropertyListConfiguration.load(java.io.Reader in) |
void |
PropertyListConfiguration.save(java.io.Writer out) |
void |
XMLPropertyListConfiguration.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.
|
Copyright © 2001-2016. All Rights Reserved.