Package | Description |
---|---|
org.apache.commons.configuration2 |
The Configuration main package.
|
org.apache.commons.configuration2.builder.fluent |
This package defines a fluent API for setting up fully configured configuration
builders.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertiesConfigurationLayout.load(PropertiesConfiguration config,
Reader in)
Reads a properties file and stores its internal structure.
|
void |
PropertiesConfigurationLayout.save(PropertiesConfiguration config,
Writer out)
Writes the properties file to the given writer, preserving as much of its
structure as possible.
|
Modifier and Type | Method and Description |
---|---|
PropertiesConfiguration |
Configurations.properties(File file)
Creates a
PropertiesConfiguration instance from the content of
the given file. |
PropertiesConfiguration |
Configurations.properties(String path)
Creates a
PropertiesConfiguration instance from the content of
the file identified by the given path. |
PropertiesConfiguration |
Configurations.properties(URL url)
Creates a
PropertiesConfiguration instance from the content of
the given URL. |
Modifier and Type | Method and Description |
---|---|
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. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.