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 Document |
XMLConfiguration.createDocument()
Creates a DOM document from the internal tree of configuration nodes.
|
protected CombinedConfiguration |
DefaultConfigurationBuilder.createResultConfiguration()
Creates the resulting combined configuration.
|
Configuration |
DefaultConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder.
|
Configuration |
ConfigurationFactory.getConfiguration()
Deprecated.
Return the configuration provided by this factory.
|
Configuration |
ConfigurationBuilder.getConfiguration()
Returns the configuration provided by this builder.
|
CombinedConfiguration |
DefaultConfigurationBuilder.getConfiguration(boolean load)
Returns the configuration provided by this builder.
|
InputStream |
VFSFileSystem.getInputStream(String basePath,
String fileName) |
abstract InputStream |
FileSystem.getInputStream(String basePath,
String fileName) |
InputStream |
DefaultFileSystem.getInputStream(String basePath,
String fileName) |
InputStream |
VFSFileSystem.getInputStream(URL url) |
abstract InputStream |
FileSystem.getInputStream(URL url) |
InputStream |
DefaultFileSystem.getInputStream(URL url) |
abstract OutputStream |
FileSystem.getOutputStream(File file) |
OutputStream |
DefaultFileSystem.getOutputStream(File file) |
OutputStream |
VFSFileSystem.getOutputStream(URL url) |
abstract OutputStream |
FileSystem.getOutputStream(URL url) |
OutputStream |
DefaultFileSystem.getOutputStream(URL url) |
protected void |
DefaultConfigurationBuilder.initCombinedConfiguration(CombinedConfiguration config,
List<? extends HierarchicalConfiguration> containedConfigs,
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 |
MultiFileHierarchicalConfiguration.load() |
void |
FileConfiguration.load()
Load the configuration from the underlying URL.
|
void |
AbstractHierarchicalFileConfiguration.load() |
void |
AbstractFileConfiguration.load()
Load the configuration from the underlying location.
|
void |
XMLPropertiesConfiguration.load(Element element)
Parses a DOM element containing the properties.
|
void |
MultiFileHierarchicalConfiguration.load(File file) |
void |
FileConfiguration.load(File file)
Load the configuration from the specified file.
|
void |
AbstractHierarchicalFileConfiguration.load(File file) |
void |
AbstractFileConfiguration.load(File file)
Load the configuration from the specified file.
|
void |
XMLConfiguration.load(InputStream in)
Loads the configuration from the given input stream.
|
void |
MultiFileHierarchicalConfiguration.load(InputStream in) |
void |
FileConfiguration.load(InputStream in)
Load the configuration from the specified stream, using the encoding
returned by
FileConfiguration.getEncoding() . |
void |
AbstractHierarchicalFileConfiguration.load(InputStream in) |
void |
AbstractFileConfiguration.load(InputStream in)
Load the configuration from the specified stream, using the encoding
returned by
AbstractFileConfiguration.getEncoding() . |
void |
MultiFileHierarchicalConfiguration.load(InputStream in,
String encoding) |
void |
FileConfiguration.load(InputStream in,
String encoding)
Load the configuration from the specified stream, using the specified
encoding.
|
void |
AbstractHierarchicalFileConfiguration.load(InputStream in,
String encoding) |
void |
AbstractFileConfiguration.load(InputStream in,
String encoding)
Load the configuration from the specified stream, using the specified
encoding.
|
void |
XMLPropertiesConfiguration.load(Reader in) |
void |
XMLConfiguration.load(Reader in)
Load the configuration from the given reader.
|
void |
PropertiesConfigurationLayout.load(Reader in)
Reads a properties file and stores its internal structure.
|
void |
PropertiesConfiguration.load(Reader in)
Load the properties from the given reader.
|
void |
PatternSubtreeConfigurationWrapper.load(Reader reader) |
void |
MultiFileHierarchicalConfiguration.load(Reader reader) |
void |
INIConfiguration.load(Reader reader)
Deprecated.
Load the configuration from the given reader.
|
void |
HierarchicalINIConfiguration.load(Reader reader)
Load the configuration from the given reader.
|
void |
FileConfiguration.load(Reader in)
Load the configuration from the specified reader.
|
void |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate.load(Reader in) |
void |
MultiFileHierarchicalConfiguration.load(String fileName) |
void |
FileConfiguration.load(String fileName)
Locate the specified file and load the configuration.
|
void |
AbstractHierarchicalFileConfiguration.load(String fileName) |
void |
AbstractFileConfiguration.load(String fileName)
Locate the specified file and load the configuration.
|
void |
MultiFileHierarchicalConfiguration.load(URL url) |
void |
FileConfiguration.load(URL url)
Load the configuration from the specified URL.
|
void |
AbstractHierarchicalFileConfiguration.load(URL url) |
void |
AbstractFileConfiguration.load(URL url)
Load the configuration from the specified 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 |
MultiFileHierarchicalConfiguration.save() |
void |
FileConfiguration.save()
Save the configuration.
|
void |
AbstractHierarchicalFileConfiguration.save() |
void |
AbstractFileConfiguration.save()
Save the configuration.
|
void |
MultiFileHierarchicalConfiguration.save(File file) |
void |
FileConfiguration.save(File file)
Save the configuration to the specified file.
|
void |
AbstractHierarchicalFileConfiguration.save(File file) |
void |
AbstractFileConfiguration.save(File file)
Save the configuration to the specified file.
|
void |
MultiFileHierarchicalConfiguration.save(OutputStream out) |
void |
FileConfiguration.save(OutputStream out)
Save the configuration to the specified stream, using the encoding
returned by
FileConfiguration.getEncoding() . |
void |
AbstractHierarchicalFileConfiguration.save(OutputStream out) |
void |
AbstractFileConfiguration.save(OutputStream out)
Save the configuration to the specified stream, using the encoding
returned by
AbstractFileConfiguration.getEncoding() . |
void |
MultiFileHierarchicalConfiguration.save(OutputStream out,
String encoding) |
void |
FileConfiguration.save(OutputStream out,
String encoding)
Save the configuration to the specified stream, using the specified
encoding.
|
void |
AbstractHierarchicalFileConfiguration.save(OutputStream out,
String encoding) |
void |
AbstractFileConfiguration.save(OutputStream out,
String encoding)
Save the configuration to the specified stream, using the specified
encoding.
|
void |
MultiFileHierarchicalConfiguration.save(String fileName) |
void |
FileConfiguration.save(String fileName)
Save the configuration to the specified file.
|
void |
AbstractHierarchicalFileConfiguration.save(String fileName) |
void |
AbstractFileConfiguration.save(String fileName)
Save the configuration to the specified file.
|
void |
MultiFileHierarchicalConfiguration.save(URL url) |
void |
FileConfiguration.save(URL url)
Save the configuration to the specified URL.
|
void |
AbstractHierarchicalFileConfiguration.save(URL url) |
void |
AbstractFileConfiguration.save(URL url)
Save the configuration to the specified URL.
|
void |
XMLPropertiesConfiguration.save(Writer out) |
void |
XMLConfiguration.save(Writer writer)
Saves the configuration to the specified writer.
|
void |
PropertiesConfigurationLayout.save(Writer out)
Writes the properties file to the given writer, preserving as much of its
structure as possible.
|
void |
PropertiesConfiguration.save(Writer writer)
Save the configuration to the specified stream.
|
void |
PatternSubtreeConfigurationWrapper.save(Writer writer) |
void |
MultiFileHierarchicalConfiguration.save(Writer writer) |
void |
INIConfiguration.save(Writer writer)
Deprecated.
Save the configuration to the specified writer.
|
void |
HierarchicalINIConfiguration.save(Writer writer)
Save the configuration to the specified writer.
|
void |
FileConfiguration.save(Writer out)
Save the configuration to the specified writer.
|
void |
AbstractHierarchicalFileConfiguration.FileConfigurationDelegate.save(Writer out) |
void |
XMLConfiguration.validate()
Validate the document against the Schema.
|
Constructor and Description |
---|
AbstractFileConfiguration(File file)
Creates and loads the configuration from the specified file.
|
AbstractFileConfiguration(String fileName)
Creates and loads the configuration from the specified file.
|
AbstractFileConfiguration(URL url)
Creates and loads the configuration from the specified URL.
|
AbstractHierarchicalFileConfiguration(File file)
Creates and loads the configuration from the specified file.
|
AbstractHierarchicalFileConfiguration(String fileName)
Creates and loads the configuration from the specified file.
|
AbstractHierarchicalFileConfiguration(URL url)
Creates and loads the configuration from the specified URL.
|
DefaultConfigurationBuilder(String fileName)
Creates a new instance of
DefaultConfigurationBuilder and
sets the specified configuration definition file. |
DefaultConfigurationBuilder(URL url)
Creates a new instance of
DefaultConfigurationBuilder and
sets the specified configuration definition file. |
HierarchicalINIConfiguration(File file)
Create and load the ini configuration from the given file.
|
HierarchicalINIConfiguration(String filename)
Create and load the ini configuration from the given file.
|
HierarchicalINIConfiguration(URL url)
Create and load the ini configuration from the given url.
|
INIConfiguration(File file)
Deprecated.
Create and load the ini configuration from the given file.
|
INIConfiguration(String filename)
Deprecated.
Create and load the ini configuration from the given file.
|
INIConfiguration(URL url)
Deprecated.
Create and load the ini configuration from the given url.
|
PropertiesConfiguration(File file)
Creates and loads the extended properties from the specified file.
|
PropertiesConfiguration(String fileName)
Creates and loads the extended properties from the specified file.
|
PropertiesConfiguration(URL url)
Creates and loads the extended properties from the specified URL.
|
XMLConfiguration(File file)
Creates a new instance of
XMLConfiguration . |
XMLConfiguration(String fileName)
Creates a new instance of
XMLConfiguration . |
XMLConfiguration(URL url)
Creates a new instance of
XMLConfiguration . |
XMLPropertiesConfiguration(Element element)
Creates and loads the xml properties from the specified DOM node.
|
XMLPropertiesConfiguration(File file)
Creates and loads the xml properties from the specified file.
|
XMLPropertiesConfiguration(String fileName)
Creates and loads the xml properties from the specified file.
|
XMLPropertiesConfiguration(URL url)
Creates and loads the xml properties from the specified URL.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLPropertyListConfiguration.load(Reader in) |
void |
PropertyListConfiguration.load(Reader in) |
void |
XMLPropertyListConfiguration.save(Writer out) |
void |
PropertyListConfiguration.save(Writer out) |
Constructor and Description |
---|
PropertyListConfiguration(File file)
Creates and loads the property list from the specified file.
|
PropertyListConfiguration(String fileName)
Creates and loads the property list from the specified file.
|
PropertyListConfiguration(URL url)
Creates and loads the property list from the specified URL.
|
XMLPropertyListConfiguration(File file)
Creates and loads the property list from the specified file.
|
XMLPropertyListConfiguration(String fileName)
Creates and loads the property list from the specified file.
|
XMLPropertyListConfiguration(URL url)
Creates and loads the property list from the specified URL.
|
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.