Uses of Interface
org.apache.commons.configuration2.interpol.Lookup
Package
Description
The Configuration main package.
This package contains the implementations of configuration builder classes used to create new
Configuration
objects.
A package with helper classes used for interpolation (variable substitution).
-
Uses of Lookup in org.apache.commons.configuration2
Modifier and TypeClassDescriptionclass
A specialized implementation of theLookup
interface which uses aConfiguration
object to resolve variables.Modifier and TypeMethodDescriptionfinal void
AbstractConfiguration.installInterpolator
(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.final void
AbstractConfiguration.installInterpolator
(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
Configuration.installInterpolator
(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
Configuration.installInterpolator
(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolator
for thisConfiguration
based on the passed in arguments.void
AbstractConfiguration.setDefaultLookups
(Collection<? extends Lookup> lookups) Adds allLookup
objects in the given collection as default lookups (i.e.void
AbstractConfiguration.setPrefixLookups
(Map<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
Modifier and TypeMethodDescriptionBasicBuilderParameters.setDefaultLookups
(Collection<? extends Lookup> lookups) Adds additional defaultLookup
objects (i.e.BasicBuilderProperties.setDefaultLookups
(Collection<? extends Lookup> lookups) Adds additional defaultLookup
objects (i.e.BasicBuilderParameters.setPrefixLookups
(Map<String, ? extends Lookup> lookups) Sets additionalLookup
objects for specific prefixes for this configuration object.BasicBuilderProperties.setPrefixLookups
(Map<String, ? extends Lookup> lookups) Sets additionalLookup
objects for specific prefixes for this configuration object. -
Uses of Lookup in org.apache.commons.configuration2.interpol
Modifier and TypeClassDescriptionclass
Looks up constant fields in classes.enum
A simple dummyLookup
implementation.class
Deprecated.class
Lookup that allows expressions to be evaluated.class
Deprecated.Modifier and TypeMethodDescriptionprotected Lookup
ConfigurationInterpolator.fetchLookupForPrefix
(String prefix) Obtains the lookup object for the specified prefix.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.Modifier and TypeMethodDescriptionConfigurationInterpolator.getDefaultLookups()
Gets a collection with the defaultLookup
objects added to thisConfigurationInterpolator
.InterpolatorSpecification.getDefaultLookups()
Gets a collection with the default lookups.ConfigurationInterpolator.getDefaultPrefixLookups()
Gets a map containing the default prefix lookups.ConfigurationInterpolator.getLookups()
Gets a map with the currently registeredLookup
objects and their prefixes.InterpolatorSpecification.getPrefixLookups()
Gets a map with prefix lookups.Modifier and TypeMethodDescriptionvoid
ConfigurationInterpolator.addDefaultLookup
(Lookup defaultLookup) Adds a defaultLookup
object.static Lookup
ConfigurationInterpolator.nullSafeLookup
(Lookup lookup) Utility method for obtaining aLookup
object in a safe way.void
ConfigurationInterpolator.registerLookup
(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.withDefaultLookup
(Lookup lookup) Adds the givenLookup
object to the list of default lookups.InterpolatorSpecification.Builder.withPrefixLookup
(String prefix, Lookup lookup) Adds aLookup
object for a given prefix.Modifier and TypeMethodDescriptionvoid
ConfigurationInterpolator.addDefaultLookups
(Collection<? extends Lookup> lookups) Adds allLookup
objects in the given collection as default lookups.void
ConfigurationInterpolator.registerLookups
(Map<String, ? extends Lookup> lookups) Registers allLookup
objects in the given map with their prefixes at thisConfigurationInterpolator
.InterpolatorSpecification.Builder.withDefaultLookups
(Collection<? extends Lookup> lookups) Adds the content of the given collection to the default lookups managed by this builder.InterpolatorSpecification.Builder.withPrefixLookups
(Map<String, ? extends Lookup> lookups) Adds the content of the given map to the prefix lookups managed by this builder.
DefaultLookups.ENVIRONMENT
.