# 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 new `Configuration` objects.
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 the `Lookup` interface which uses a `Configuration` object to resolve variables.
  Method parameters in org.apache.commons.configuration2 with type arguments of type Lookup
  Modifier and Type
  Method
  Description
  `final void`
  AbstractConfiguration.`installInterpolator(Map<String,? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups)`
  Creates and installs a new `ConfigurationInterpolator` for this `Configuration` based on the passed in arguments.
  `final void`
  AbstractConfiguration.`installInterpolator(Map<String,? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups)`
  Creates and installs a new `ConfigurationInterpolator` for this `Configuration` based on the passed in arguments.
  `void`
  Configuration.`installInterpolator(Map<String,? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups)`
  Creates and installs a new `ConfigurationInterpolator` for this `Configuration` based on the passed in arguments.
  `void`
  Configuration.`installInterpolator(Map<String,? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups)`
  Creates and installs a new `ConfigurationInterpolator` for this `Configuration` based on the passed in arguments.
  `void`
  AbstractConfiguration.`setDefaultLookups(Collection<? extends Lookup> lookups)`
  Adds all `Lookup` objects in the given collection as default lookups (i.e. lookups without a variable prefix) to the `ConfigurationInterpolator` object of this configuration.
  `void`
  AbstractConfiguration.`setPrefixLookups(Map<String,? extends Lookup> lookups)`
  Registers all `Lookup` objects in the given map at the current `ConfigurationInterpolator` of this configuration.

- ## Uses of Lookup in org.apache.commons.configuration2.builder

  Method parameters in org.apache.commons.configuration2.builder with type arguments of type Lookup
  Modifier and Type
  Method
  Description
  `BasicBuilderParameters`
  BasicBuilderParameters.`setDefaultLookups(Collection<? extends Lookup> lookups)`
  Adds additional default `Lookup` objects (i.e. lookups which are not associated with a specific prefix) to this configuration object.
  `T`
  BasicBuilderProperties.`setDefaultLookups(Collection<? extends Lookup> lookups)`
  Adds additional default `Lookup` objects (i.e. lookups which are not associated with a specific prefix) to this configuration object.
  `BasicBuilderParameters`
  BasicBuilderParameters.`setPrefixLookups(Map<String,? extends Lookup> lookups)`
  Sets additional `Lookup` objects for specific prefixes for this configuration object.
  `T`
  BasicBuilderProperties.`setPrefixLookups(Map<String,? extends Lookup> lookups)`
  Sets additional `Lookup` objects for specific prefixes for this configuration object.

- ## 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.
  `enum`
  `DummyLookup`
  A simple dummy `Lookup` implementation.
  `class`
  `EnvironmentLookup`
  Deprecated.
  Use `DefaultLookups.ENVIRONMENT`.
  `class`
  `ExprLookup`
  Lookup that allows expressions to be evaluated.
  `class`
  `SystemPropertiesLookup`
  Deprecated.
  Use `DefaultLookups.SYSTEM_PROPERTIES`.
  Methods in org.apache.commons.configuration2.interpol that return Lookup
  Modifier and Type
  Method
  Description
  `protected Lookup`
  ConfigurationInterpolator.`fetchLookupForPrefix(String prefix)`
  Obtains the lookup object for the specified prefix.
  `Lookup`
  DefaultLookups.`getLookup()`
  Gets the standard `Lookup` instance of this kind.
  `static Lookup`
  ConfigurationInterpolator.`nullSafeLookup(Lookup lookup)`
  Utility method for obtaining a `Lookup` 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
  `List<Lookup>`
  ConfigurationInterpolator.`getDefaultLookups()`
  Gets a collection with the default `Lookup` objects added to this `ConfigurationInterpolator`.
  `Collection<Lookup>`
  InterpolatorSpecification.`getDefaultLookups()`
  Gets a collection with the default lookups.
  `static Map<String,Lookup>`
  ConfigurationInterpolator.`getDefaultPrefixLookups()`
  Gets a map containing the default prefix lookups.
  `Map<String,Lookup>`
  ConfigurationInterpolator.`getLookups()`
  Gets a map with the currently registered `Lookup` objects and their prefixes.
  `Map<String,Lookup>`
  InterpolatorSpecification.`getPrefixLookups()`
  Gets a map with prefix lookups.
  Methods in org.apache.commons.configuration2.interpol with parameters of type Lookup
  Modifier and Type
  Method
  Description
  `void`
  ConfigurationInterpolator.`addDefaultLookup(Lookup defaultLookup)`
  Adds a default `Lookup` object.
  `static Lookup`
  ConfigurationInterpolator.`nullSafeLookup(Lookup lookup)`
  Utility method for obtaining a `Lookup` object in a safe way.
  `void`
  ConfigurationInterpolator.`registerLookup(String prefix, Lookup lookup)`
  Registers the given `Lookup` object for the specified prefix at this instance.
  `boolean`
  ConfigurationInterpolator.`removeDefaultLookup(Lookup lookup)`
  Removes the specified `Lookup` object from the list of default `Lookup`s.
  `InterpolatorSpecification.Builder`
  InterpolatorSpecification.Builder.`withDefaultLookup(Lookup lookup)`
  Adds the given `Lookup` object to the list of default lookups.
  `InterpolatorSpecification.Builder`
  InterpolatorSpecification.Builder.`withPrefixLookup(String prefix, Lookup lookup)`
  Adds a `Lookup` 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(Collection<? extends Lookup> lookups)`
  Adds all `Lookup` objects in the given collection as default lookups.
  `void`
  ConfigurationInterpolator.`registerLookups(Map<String,? extends Lookup> lookups)`
  Registers all `Lookup` objects in the given map with their prefixes at this `ConfigurationInterpolator`.
  `InterpolatorSpecification.Builder`
  InterpolatorSpecification.Builder.`withDefaultLookups(Collection<? extends Lookup> lookups)`
  Adds the content of the given collection to the default lookups managed by this builder.
  `InterpolatorSpecification.Builder`
  InterpolatorSpecification.Builder.`withPrefixLookups(Map<String,? extends Lookup> lookups)`
  Adds the content of the given map to the prefix lookups managed by this builder.