Uses of Interface
org.apache.commons.configuration2.interpol.Lookup
-
Packages that use Lookup 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 newConfiguration
objects.org.apache.commons.configuration2.builder.combined A package containing the implementation of the builder for combined configurations.org.apache.commons.configuration2.interpol A package with helper classes used for interpolation (variable substitution). -
-
Uses of Lookup in org.apache.commons.configuration2
Classes in org.apache.commons.configuration2 that implement Lookup Modifier and Type Class Description class
ConfigurationLookup
A specialized implementation of theLookup
interface which uses aConfiguration
object to resolve variables.Methods in org.apache.commons.configuration2 that return Lookup Modifier and Type Method Description private Lookup
AbstractConfiguration. findConfigurationLookup(ConfigurationInterpolator ci)
Finds aConfigurationLookup
pointing to this configuration in the default lookups of the specifiedConfigurationInterpolator
.private static Lookup
AbstractConfiguration. findConfigurationLookup(ConfigurationInterpolator ci, ImmutableConfiguration targetConf)
Finds aConfigurationLookup
pointing to the specified configuration in the default lookups for the specifiedConfigurationInterpolator
.Method parameters in org.apache.commons.configuration2 with type arguments of type Lookup Modifier and Type Method Description void
AbstractConfiguration. installInterpolator(java.util.Map<java.lang.String,? extends Lookup> prefixLookups, java.util.Collection<? extends Lookup> defLookups)
Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
AbstractConfiguration. installInterpolator(java.util.Map<java.lang.String,? extends Lookup> prefixLookups, java.util.Collection<? extends Lookup> defLookups)
Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
Configuration. installInterpolator(java.util.Map<java.lang.String,? extends Lookup> prefixLookups, java.util.Collection<? extends Lookup> defLookups)
Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
Configuration. installInterpolator(java.util.Map<java.lang.String,? extends Lookup> prefixLookups, java.util.Collection<? extends Lookup> defLookups)
Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
AbstractConfiguration. setDefaultLookups(java.util.Collection<? extends Lookup> lookups)
Adds allLookup
objects in the given collection as default lookups (i.e.void
AbstractConfiguration. setPrefixLookups(java.util.Map<java.lang.String,? extends Lookup> lookups)
Registers allLookup
objects in the given map at the currentConfigurationInterpolator
of this configuration. -
Uses of Lookup in org.apache.commons.configuration2.builder
Methods in org.apache.commons.configuration2.builder that return types with arguments of type Lookup Modifier and Type Method Description private static java.util.Collection<? extends Lookup>
BasicBuilderParameters. fetchAndCheckDefaultLookups(java.util.Map<java.lang.String,java.lang.Object> params)
Tests whether the passed in map with parameters contains a valid collection with default lookups.private static java.util.Map<java.lang.String,? extends Lookup>
BasicBuilderParameters. fetchAndCheckPrefixLookups(java.util.Map<java.lang.String,java.lang.Object> params)
Tests whether the passed in map with parameters contains a map with prefix lookups.private static java.util.Collection<? extends Lookup>
BasicBuilderParameters. fetchDefaultLookups(java.util.Map<java.lang.String,java.lang.Object> params)
Obtains the collection with default lookups from the parameters map.private static java.util.Map<java.lang.String,? extends Lookup>
BasicBuilderParameters. fetchPrefixLookups(java.util.Map<java.lang.String,java.lang.Object> params)
Obtains the map with prefix lookups from the parameters map.Method parameters in org.apache.commons.configuration2.builder with type arguments of type Lookup Modifier and Type Method Description BasicBuilderParameters
BasicBuilderParameters. setDefaultLookups(java.util.Collection<? extends Lookup> lookups)
Adds additional defaultLookup
objects (i.e.T
BasicBuilderProperties. setDefaultLookups(java.util.Collection<? extends Lookup> lookups)
Adds additional defaultLookup
objects (i.e.BasicBuilderParameters
BasicBuilderParameters. setPrefixLookups(java.util.Map<java.lang.String,? extends Lookup> lookups)
Sets additionalLookup
objects for specific prefixes for this configuration object.T
BasicBuilderProperties. setPrefixLookups(java.util.Map<java.lang.String,? extends Lookup> lookups)
Sets additionalLookup
objects for specific prefixes for this configuration object. -
Uses of Lookup in org.apache.commons.configuration2.builder.combined
Methods in org.apache.commons.configuration2.builder.combined that return types with arguments of type Lookup Modifier and Type Method Description private java.util.Map<java.lang.String,? extends Lookup>
CombinedConfigurationBuilder. fetchPrefixLookups()
Returns a map with the current prefix lookup objects. -
Uses of Lookup in org.apache.commons.configuration2.interpol
Classes in org.apache.commons.configuration2.interpol that implement Lookup Modifier and Type Class Description class
ConstantLookup
Looks up constant fields in classes.class
DummyLookup
A simple dummyLookup
implementation.class
EnvironmentLookup
Deprecated.class
ExprLookup
Lookup that allows expressions to be evaluated.(package private) class
StringLookupAdapter
Wraps an Apache Commons TextStringLookup
as an Apache Commons ConfigurationLookup
.class
SystemPropertiesLookup
Deprecated.Fields in org.apache.commons.configuration2.interpol declared as Lookup Modifier and Type Field Description private Lookup
DefaultLookups. lookup
The associated lookup instance.Fields in org.apache.commons.configuration2.interpol with type parameters of type Lookup Modifier and Type Field Description private java.util.List<Lookup>
ConfigurationInterpolator. defaultLookups
Stores the default lookup objects.private java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator.DefaultPrefixLookupsHolder. defaultLookups
Default lookup map.private java.util.Collection<Lookup>
InterpolatorSpecification. defaultLookups
The collection with default lookups.private java.util.Collection<Lookup>
InterpolatorSpecification.Builder. defLookups
A collection with default lookups.private java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator. prefixLookups
A map with the currently registered lookup objects.private java.util.Map<java.lang.String,Lookup>
InterpolatorSpecification.Builder. prefixLookups
A map with prefix lookups.private java.util.Map<java.lang.String,Lookup>
InterpolatorSpecification. prefixLookups
The map with prefix lookups.Methods in org.apache.commons.configuration2.interpol that return Lookup Modifier and Type Method Description protected Lookup
ConfigurationInterpolator. fetchLookupForPrefix(java.lang.String prefix)
Obtains the lookup object for the specified prefix.Lookup
DefaultLookups. getLookup()
Gets the standardLookup
instance of this kind.static Lookup
ConfigurationInterpolator. nullSafeLookup(Lookup lookup)
Utility method for obtaining aLookup
object in a safe way.Methods in org.apache.commons.configuration2.interpol that return types with arguments of type Lookup Modifier and Type Method Description private static java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator.DefaultPrefixLookupsHolder. createDefaultLookups()
Create the lookup map used when the user has requested no customization.java.util.List<Lookup>
ConfigurationInterpolator. getDefaultLookups()
Gets a collection with the defaultLookup
objects added to thisConfigurationInterpolator
.java.util.Collection<Lookup>
InterpolatorSpecification. getDefaultLookups()
Gets a collection with the default lookups.(package private) java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator.DefaultPrefixLookupsHolder. getDefaultPrefixLookups()
Gets the default prefix lookups map.static java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator. getDefaultPrefixLookups()
Gets a map containing the default prefix lookups.java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator. getLookups()
Gets a map with the currently registeredLookup
objects and their prefixes.java.util.Map<java.lang.String,Lookup>
InterpolatorSpecification. getPrefixLookups()
Gets a map with prefix lookups.private static java.util.Map<java.lang.String,Lookup>
ConfigurationInterpolator.DefaultPrefixLookupsHolder. parseLookups(java.lang.String str)
Constructs a lookup map by parsing the given string.Methods in org.apache.commons.configuration2.interpol with parameters of type Lookup Modifier and Type Method Description void
ConfigurationInterpolator. addDefaultLookup(Lookup defaultLookup)
Adds a defaultLookup
object.private static void
InterpolatorSpecification.Builder. checkLookup(Lookup lookup)
Helper method for checking a lookup.static Lookup
ConfigurationInterpolator. nullSafeLookup(Lookup lookup)
Utility method for obtaining aLookup
object in a safe way.void
ConfigurationInterpolator. registerLookup(java.lang.String prefix, Lookup lookup)
Registers the givenLookup
object for the specified prefix at this instance.boolean
ConfigurationInterpolator. removeDefaultLookup(Lookup lookup)
Removes the specifiedLookup
object from the list of defaultLookup
s.InterpolatorSpecification.Builder
InterpolatorSpecification.Builder. withDefaultLookup(Lookup lookup)
Adds the givenLookup
object to the list of default lookups.InterpolatorSpecification.Builder
InterpolatorSpecification.Builder. withPrefixLookup(java.lang.String prefix, Lookup lookup)
Adds aLookup
object for a given prefix.Method parameters in org.apache.commons.configuration2.interpol with type arguments of type Lookup Modifier and Type Method Description void
ConfigurationInterpolator. addDefaultLookups(java.util.Collection<? extends Lookup> lookups)
Adds allLookup
objects in the given collection as default lookups.private static void
ConfigurationInterpolator.DefaultPrefixLookupsHolder. addLookup(DefaultLookups lookup, java.util.Map<java.lang.String,Lookup> map)
Add the prefix and lookup fromlookup
tomap
.void
ConfigurationInterpolator. registerLookups(java.util.Map<java.lang.String,? extends Lookup> lookups)
Registers allLookup
objects in the given map with their prefixes at thisConfigurationInterpolator
.InterpolatorSpecification.Builder
InterpolatorSpecification.Builder. withDefaultLookups(java.util.Collection<? extends Lookup> lookups)
Adds the content of the given collection to the default lookups managed by this builder.InterpolatorSpecification.Builder
InterpolatorSpecification.Builder. withPrefixLookups(java.util.Map<java.lang.String,? extends Lookup> lookups)
Adds the content of the given map to the prefix lookups managed by this builder.Constructors in org.apache.commons.configuration2.interpol with parameters of type Lookup Constructor Description DefaultLookups(java.lang.String prefix, Lookup lookup)
Creates a new instance ofDefaultLookups
and sets the prefix and the associated lookup instance.
-