Package | Description |
---|---|
org.apache.commons.configuration2 |
The Configuration main package.
|
org.apache.commons.configuration2.builder |
This package contains the implementations of configuration builder
classes used to create new
Configuration objects. |
org.apache.commons.configuration2.builder.combined |
A package containing the implementation of the builder for combined
configurations.
|
org.apache.commons.configuration2.builder.fluent |
This package defines a fluent API for setting up fully configured configuration
builders.
|
org.apache.commons.configuration2.plist |
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
INIConfiguration
A specialized hierarchical configuration implementation for parsing ini
files.
|
class |
JSONConfiguration
A specialized hierarchical configuration class that is able to parse JSON
documents.
|
class |
PatternSubtreeConfigurationWrapper
Wraps a BaseHierarchicalConfiguration and allows subtrees to be accessed via a configured path with
replaceable tokens derived from the ConfigurationInterpolator.
|
class |
PropertiesConfiguration
This is the "classic" Properties loader which loads the values from
a single or multiple files (which can be chained with "include =".
|
class |
XMLConfiguration
A specialized hierarchical configuration class that is able to parse XML
documents.
|
class |
XMLPropertiesConfiguration
This configuration implements the XML properties format introduced in Java
5.0, see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html.
|
class |
YAMLConfiguration
A specialized hierarchical configuration class that is able to parse YAML
documents.
|
Modifier and Type | Class and Description |
---|---|
class |
FileBasedConfigurationBuilder<T extends FileBasedConfiguration>
A specialized
ConfigurationBuilder implementation which can handle
configurations read from a FileHandler . |
class |
ReloadingFileBasedConfigurationBuilder<T extends FileBasedConfiguration>
A specialized
ConfigurationBuilder implementation which can handle
configurations read from a FileHandler and supports reloading. |
Modifier and Type | Class and Description |
---|---|
class |
MultiFileConfigurationBuilder<T extends FileBasedConfiguration>
A specialized
ConfigurationBuilder implementation providing access to
multiple file-based configurations based on a file name pattern. |
class |
ReloadingMultiFileConfigurationBuilder<T extends FileBasedConfiguration>
A specialized
MultiFileConfigurationBuilder implementation which adds
support for reloading. |
Modifier and Type | Method and Description |
---|---|
<T extends FileBasedConfiguration> |
Configurations.fileBased(Class<T> configClass,
File file)
Creates an instance of the specified file-based configuration class from
the content of the given file.
|
<T extends FileBasedConfiguration> |
Configurations.fileBased(Class<T> configClass,
String path)
Creates an instance of the specified file-based configuration class from
the content of the file identified by the given path.
|
<T extends FileBasedConfiguration> |
Configurations.fileBased(Class<T> configClass,
URL url)
Creates an instance of the specified file-based configuration class from
the content of the given URL.
|
<T extends FileBasedConfiguration> |
Configurations.fileBasedBuilder(Class<T> configClass,
File file)
Creates a
FileBasedConfigurationBuilder for the specified
configuration class and initializes it with the file to be loaded. |
<T extends FileBasedConfiguration> |
Configurations.fileBasedBuilder(Class<T> configClass,
String path)
Creates a
FileBasedConfigurationBuilder for the specified
configuration class and initializes it with the path to the file to be
loaded. |
<T extends FileBasedConfiguration> |
Configurations.fileBasedBuilder(Class<T> configClass,
URL url)
Creates a
FileBasedConfigurationBuilder for the specified
configuration class and initializes it with the URL to the file to be
loaded. |
Modifier and Type | Class and Description |
---|---|
class |
PropertyListConfiguration
NeXT / OpenStep style configuration.
|
class |
XMLPropertyListConfiguration
Property list file (plist) in XML FORMAT as used by Mac OS X (http://www.apple.com/DTDs/PropertyList-1.0.dtd).
|
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.