Package | Description |
---|---|
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 |
---|---|
XMLConfiguration |
Configurations.xml(File file)
Creates a
XMLConfiguration instance from the content of the given
file. |
XMLConfiguration |
Configurations.xml(String path)
Creates a
XMLConfiguration instance from the content of the file
identified by the given path. |
XMLConfiguration |
Configurations.xml(URL url)
Creates a
XMLConfiguration instance from the content of the given
URL. |
Modifier and Type | Method and Description |
---|---|
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.