| 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.convert |
This package contains interfaces and classes related to data type conversions.
|
| org.apache.commons.configuration2.interpol |
A package with helper classes used for interpolation (variable substitution).
|
| org.apache.commons.configuration2.resolver |
A package containing EntityResolvers.
|
| Modifier and Type | Method | Description |
|---|---|---|
ConfigurationInterpolator |
AbstractConfiguration.getInterpolator() |
Returns the
ConfigurationInterpolator object that manages the
lookup objects for resolving variables. |
ConfigurationInterpolator |
Configuration.getInterpolator() |
Returns the
ConfigurationInterpolator object used by this
Configuration. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractConfiguration.setInterpolator(ConfigurationInterpolator ci) |
Sets the
ConfigurationInterpolator object to be used by this
Configuration. |
void |
Configuration.setInterpolator(ConfigurationInterpolator ci) |
Sets the
ConfigurationInterpolator object to be used by this
Configuration. |
void |
AbstractConfiguration.setParentInterpolator(ConfigurationInterpolator parent) |
Sets the specified
ConfigurationInterpolator as the parent of
this configuration's ConfigurationInterpolator. |
| Modifier and Type | Method | Description |
|---|---|---|
BasicBuilderParameters |
BasicBuilderParameters.setInterpolator(ConfigurationInterpolator ci) |
Sets the
ConfigurationInterpolator to be used for this
configuration. |
T |
BasicBuilderProperties.setInterpolator(ConfigurationInterpolator ci) |
Sets the
ConfigurationInterpolator to be used for this
configuration. |
BasicBuilderParameters |
BasicBuilderParameters.setParentInterpolator(ConfigurationInterpolator parent) |
Sets the parent
ConfigurationInterpolator for this
configuration's ConfigurationInterpolator. |
T |
BasicBuilderProperties.setParentInterpolator(ConfigurationInterpolator parent) |
Sets the parent
ConfigurationInterpolator for this
configuration's ConfigurationInterpolator. |
| Modifier and Type | Method | Description |
|---|---|---|
protected ConfigurationInterpolator |
MultiFileConfigurationBuilder.createInterpolator() |
Creates the
ConfigurationInterpolator to be used by this
instance. |
protected ConfigurationInterpolator |
MultiFileConfigurationBuilder.getInterpolator() |
Returns the
ConfigurationInterpolator used by this instance. |
| Modifier and Type | Method | Description |
|---|---|---|
protected <T> T |
DefaultConversionHandler.convert(java.lang.Object src,
java.lang.Class<T> targetCls,
ConfigurationInterpolator ci) |
Performs the conversion from the passed in source object to the specified
target class.
|
protected <T> T |
DefaultConversionHandler.convertValue(java.lang.Object src,
java.lang.Class<T> targetCls,
ConfigurationInterpolator ci) |
Performs a conversion of a single value to the specified target class.
|
protected java.lang.Object |
DefaultConversionHandler.extractConversionValue(java.lang.Object container,
java.lang.Class<?> targetCls,
ConfigurationInterpolator ci) |
Extracts a single value from a complex object.
|
<T> T |
ConversionHandler.to(java.lang.Object src,
java.lang.Class<T> targetCls,
ConfigurationInterpolator ci) |
Converts a single object to the specified target type.
|
<T> T |
DefaultConversionHandler.to(java.lang.Object src,
java.lang.Class<T> targetCls,
ConfigurationInterpolator ci) |
|
java.lang.Object |
ConversionHandler.toArray(java.lang.Object src,
java.lang.Class<?> elemClass,
ConfigurationInterpolator ci) |
Converts the given object to an array of the specified element type.
|
java.lang.Object |
DefaultConversionHandler.toArray(java.lang.Object src,
java.lang.Class<?> elemClass,
ConfigurationInterpolator ci) |
Converts the given object to an array of the specified element type.
|
<T> void |
ConversionHandler.toCollection(java.lang.Object src,
java.lang.Class<T> elemClass,
ConfigurationInterpolator ci,
java.util.Collection<T> dest) |
Converts the given object to a collection of the specified type.
|
<T> void |
DefaultConversionHandler.toCollection(java.lang.Object src,
java.lang.Class<T> elemClass,
ConfigurationInterpolator ci,
java.util.Collection<T> dest) |
Converts the given object to a collection of the specified type.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ConfigurationInterpolator |
ConfigurationInterpolator.fromSpecification(InterpolatorSpecification spec) |
Creates a new
ConfigurationInterpolator instance based on the
passed in specification object. |
ConfigurationInterpolator |
ExprLookup.getInterpolator() |
Returns the
ConfigurationInterpolator used by this object. |
ConfigurationInterpolator |
InterpolatorSpecification.getInterpolator() |
Returns the
ConfigurationInterpolator instance to be used
directly. |
ConfigurationInterpolator |
ConfigurationInterpolator.getParentInterpolator() |
Returns the parent
ConfigurationInterpolator. |
ConfigurationInterpolator |
InterpolatorSpecification.getParentInterpolator() |
Returns the parent
ConfigurationInterpolator object. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ExprLookup.setInterpolator(ConfigurationInterpolator interpolator) |
Sets the
ConfigurationInterpolator to be used by this object. |
void |
ConfigurationInterpolator.setParentInterpolator(ConfigurationInterpolator parentInterpolator) |
Sets the parent
ConfigurationInterpolator. |
InterpolatorSpecification.Builder |
InterpolatorSpecification.Builder.withInterpolator(ConfigurationInterpolator ci) |
Sets the
ConfigurationInterpolator instance for the
InterpolatorSpecification. |
InterpolatorSpecification.Builder |
InterpolatorSpecification.Builder.withParentInterpolator(ConfigurationInterpolator parent) |
Sets an optional parent
ConfigurationInterpolator. |
| Modifier and Type | Method | Description |
|---|---|---|
ConfigurationInterpolator |
CatalogResolver.CatalogManager.getInterpolator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CatalogResolver.CatalogManager.setInterpolator(ConfigurationInterpolator ci) |
|
void |
CatalogResolver.setInterpolator(ConfigurationInterpolator ci) |
Set the
ConfigurationInterpolator. |
Copyright © 2001–2018. All rights reserved.