Package | Description |
---|---|
org.apache.tamaya.format |
This package provides an abstraction for parsing a configuration
from an input strem, called
ConfigurationFormat
and corresponding helper artifacts. |
Modifier and Type | Method and Description |
---|---|
ConfigurationDataBuilder |
ConfigurationDataBuilder.addProperties(Map<String,String> properties)
Adds the given entries to the default section, all existing values will be overridden.
|
ConfigurationDataBuilder |
ConfigurationDataBuilder.addProperty(String key,
String value)
Adds a single entry to the default section.
|
ConfigurationDataBuilder |
ConfigurationDataBuilder.addSectionProperties(String section,
Map<String,String> properties)
Adds the given entries to the given section, all existing values will be overridden.
|
ConfigurationDataBuilder |
ConfigurationDataBuilder.addSectionProperty(String section,
String key,
String value)
Adds a single entry to a target section.
|
ConfigurationDataBuilder |
ConfigurationDataBuilder.addSections(String... sections)
Adds (empty) sections,if they are not yet existing.
|
static ConfigurationDataBuilder |
ConfigurationDataBuilder.of(ConfigurationData data)
Creates a new instance.
|
static ConfigurationDataBuilder |
ConfigurationDataBuilder.of(String resource,
ConfigurationFormat format)
Creates a new instance.
|
ConfigurationDataBuilder |
ConfigurationDataBuilder.setCombinedProperties(Map<String,String> properties)
Sets the given entries as the combined properties map, all existing properties of the
combined map will be overridden.
|
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.