Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ReloadingFileBasedConfigurationBuilder<T extends FileBasedConfiguration>
A specialized
ConfigurationBuilder implementation which can handle
configurations read from a FileHandler and supports reloading. |
Modifier and Type | Method and Description |
---|---|
FileBasedConfigurationBuilder<T> |
FileBasedConfigurationBuilder.configure(BuilderParameters... params)
Appends the content of the specified
BuilderParameters objects to
the current initialization parameters. |
Modifier and Type | Method and Description |
---|---|
protected FileBasedConfigurationBuilder<T> |
MultiFileConfigurationBuilder.createInitializedManagedBuilder(String fileName,
Map<String,Object> params)
Creates a fully initialized builder for a managed configuration.
|
protected FileBasedConfigurationBuilder<T> |
MultiFileConfigurationBuilder.createManagedBuilder(String fileName,
Map<String,Object> params)
Creates a builder for a managed configuration.
|
protected FileBasedConfigurationBuilder<T> |
ReloadingMultiFileConfigurationBuilder.createManagedBuilder(String fileName,
Map<String,Object> params)
Creates a builder for a managed configuration.
|
FileBasedConfigurationBuilder<T> |
MultiFileConfigurationBuilder.getManagedBuilder()
Returns the managed
FileBasedConfigurationBuilder for the current
file name pattern. |
Modifier and Type | Method and Description |
---|---|
protected ConcurrentMap<String,FileBasedConfigurationBuilder<T>> |
MultiFileConfigurationBuilder.getManagedBuilders()
Returns the map with the managed builders created so far by this
MultiFileConfigurationBuilder . |
Modifier and Type | Method and Description |
---|---|
<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. |
FileBasedConfigurationBuilder<INIConfiguration> |
Configurations.iniBuilder(File file)
Creates a builder for a
INIConfiguration and initializes it with
the given file to be loaded. |
FileBasedConfigurationBuilder<INIConfiguration> |
Configurations.iniBuilder(String path)
Creates a builder for a
INIConfiguration and initializes it with
the file file identified by the given path. |
FileBasedConfigurationBuilder<INIConfiguration> |
Configurations.iniBuilder(URL url)
Creates a builder for a
INIConfiguration and initializes it with
the given URL to be loaded. |
FileBasedConfigurationBuilder<PropertiesConfiguration> |
Configurations.propertiesBuilder()
Creates a builder for a
PropertiesConfiguration . |
FileBasedConfigurationBuilder<PropertiesConfiguration> |
Configurations.propertiesBuilder(File file)
Creates a builder for a
PropertiesConfiguration and initializes
it with the given file to be loaded. |
FileBasedConfigurationBuilder<PropertiesConfiguration> |
Configurations.propertiesBuilder(PropertiesBuilderParameters parameters)
Creates a builder for a
PropertiesConfiguration and initializes
it with the given parameters to be loaded. |
FileBasedConfigurationBuilder<PropertiesConfiguration> |
Configurations.propertiesBuilder(String path)
Creates a builder for a
PropertiesConfiguration and initializes
it with the given path to the file to be loaded. |
FileBasedConfigurationBuilder<PropertiesConfiguration> |
Configurations.propertiesBuilder(URL url)
Creates a builder for a
PropertiesConfiguration and initializes
it with the given URL to be loaded. |
FileBasedConfigurationBuilder<XMLConfiguration> |
Configurations.xmlBuilder(File file)
Creates a builder for a
XMLConfiguration and initializes it with
the given file to be loaded. |
FileBasedConfigurationBuilder<XMLConfiguration> |
Configurations.xmlBuilder(String path)
Creates a builder for a
XMLConfiguration and initializes it with
the given path to the file to be loaded. |
FileBasedConfigurationBuilder<XMLConfiguration> |
Configurations.xmlBuilder(URL url)
Creates a builder for a
XMLConfiguration and initializes it with
the given URL to be loaded. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.