Uses of Interface
org.apache.commons.configuration2.interpol.Lookup
Packages that use Lookup
Package
Description
The Configuration main package.
This package contains the implementations of configuration builder classes used to create new
Configuration objects.
A package containing the implementation of the builder for combined configurations.
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 LookupModifier and TypeClassDescriptionclassA specialized implementation of theLookupinterface which uses aConfigurationobject to resolve variables.Methods in org.apache.commons.configuration2 that return LookupModifier and TypeMethodDescriptionprivate LookupAbstractConfiguration.findConfigurationLookup(ConfigurationInterpolator ci) Finds aConfigurationLookuppointing to this configuration in the default lookups of the specifiedConfigurationInterpolator.private static LookupAbstractConfiguration.findConfigurationLookup(ConfigurationInterpolator ci, ImmutableConfiguration targetConf) Finds aConfigurationLookuppointing to the specified configuration in the default lookups for the specifiedConfigurationInterpolator.Method parameters in org.apache.commons.configuration2 with type arguments of type LookupModifier and TypeMethodDescriptionfinal voidAbstractConfiguration.installInterpolator(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolatorfor thisConfigurationbased on the passed in arguments.final voidAbstractConfiguration.installInterpolator(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolatorfor thisConfigurationbased on the passed in arguments.voidConfiguration.installInterpolator(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolatorfor thisConfigurationbased on the passed in arguments.voidConfiguration.installInterpolator(Map<String, ? extends Lookup> prefixLookups, Collection<? extends Lookup> defLookups) Creates and installs a newConfigurationInterpolatorfor thisConfigurationbased on the passed in arguments.voidAbstractConfiguration.setDefaultLookups(Collection<? extends Lookup> lookups) Adds allLookupobjects in the given collection as default lookups (i.e.voidAbstractConfiguration.setPrefixLookups(Map<String, ? extends Lookup> lookups) Registers allLookupobjects in the given map at the currentConfigurationInterpolatorof 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 LookupModifier and TypeMethodDescriptionprivate static Collection<? extends Lookup> BasicBuilderParameters.fetchAndCheckDefaultLookups(Map<String, Object> params) Tests whether the passed in map with parameters contains a valid collection with default lookups.BasicBuilderParameters.fetchAndCheckPrefixLookups(Map<String, Object> params) Tests whether the passed in map with parameters contains a map with prefix lookups.private static Collection<? extends Lookup> BasicBuilderParameters.fetchDefaultLookups(Map<String, Object> params) Obtains the collection with default lookups from the parameters map.BasicBuilderParameters.fetchPrefixLookups(Map<String, 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 LookupModifier and TypeMethodDescriptionBasicBuilderParameters.setDefaultLookups(Collection<? extends Lookup> lookups) Adds additional defaultLookupobjects (i.e.BasicBuilderProperties.setDefaultLookups(Collection<? extends Lookup> lookups) Adds additional defaultLookupobjects (i.e.BasicBuilderParameters.setPrefixLookups(Map<String, ? extends Lookup> lookups) Sets additionalLookupobjects for specific prefixes for this configuration object.BasicBuilderProperties.setPrefixLookups(Map<String, ? extends Lookup> lookups) Sets additionalLookupobjects 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 LookupModifier and TypeMethodDescriptionCombinedConfigurationBuilder.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 LookupModifier and TypeClassDescriptionclassLooks up constant fields in classes.enumA simple dummyLookupimplementation.classDeprecated.classLookup that allows expressions to be evaluated.(package private) final classWraps an Apache Commons TextStringLookupas an Apache Commons ConfigurationLookup.classDeprecated.Fields in org.apache.commons.configuration2.interpol declared as LookupModifier and TypeFieldDescriptionprivate final LookupDefaultLookups.lookupThe associated lookup instance.Fields in org.apache.commons.configuration2.interpol with type parameters of type LookupModifier and TypeFieldDescriptionConfigurationInterpolator.defaultLookupsStores the default lookup objects.ConfigurationInterpolator.DefaultPrefixLookupsHolder.defaultLookupsDefault lookup map.private final Collection<Lookup> InterpolatorSpecification.defaultLookupsThe collection with default lookups.private final Collection<Lookup> InterpolatorSpecification.Builder.defLookupsA collection with default lookups.ConfigurationInterpolator.prefixLookupsA map with the currently registered lookup objects.InterpolatorSpecification.Builder.prefixLookupsA map with prefix lookups.InterpolatorSpecification.prefixLookupsThe map with prefix lookups.Methods in org.apache.commons.configuration2.interpol that return LookupModifier and TypeMethodDescriptionprotected LookupConfigurationInterpolator.fetchLookupForPrefix(String prefix) Obtains the lookup object for the specified prefix.DefaultLookups.getLookup()Gets the standardLookupinstance of this kind.static LookupConfigurationInterpolator.nullSafeLookup(Lookup lookup) Utility method for obtaining aLookupobject in a safe way.Methods in org.apache.commons.configuration2.interpol that return types with arguments of type LookupModifier and TypeMethodDescriptionConfigurationInterpolator.DefaultPrefixLookupsHolder.createDefaultLookups()Create the lookup map used when the user has requested no customization.ConfigurationInterpolator.getDefaultLookups()Gets a collection with the defaultLookupobjects added to thisConfigurationInterpolator.InterpolatorSpecification.getDefaultLookups()Gets a collection with the default lookups.ConfigurationInterpolator.DefaultPrefixLookupsHolder.getDefaultPrefixLookups()Gets the default prefix lookups map.ConfigurationInterpolator.getDefaultPrefixLookups()Gets a map containing the default prefix lookups.ConfigurationInterpolator.getLookups()Gets a map with the currently registeredLookupobjects and their prefixes.InterpolatorSpecification.getPrefixLookups()Gets a map with prefix lookups.ConfigurationInterpolator.DefaultPrefixLookupsHolder.parseLookups(String str) Constructs a lookup map by parsing the given string.Methods in org.apache.commons.configuration2.interpol with parameters of type LookupModifier and TypeMethodDescriptionvoidConfigurationInterpolator.addDefaultLookup(Lookup defaultLookup) Adds a defaultLookupobject.private static voidInterpolatorSpecification.Builder.checkLookup(Lookup lookup) Helper method for checking a lookup.static LookupConfigurationInterpolator.nullSafeLookup(Lookup lookup) Utility method for obtaining aLookupobject in a safe way.voidConfigurationInterpolator.registerLookup(String prefix, Lookup lookup) Registers the givenLookupobject for the specified prefix at this instance.booleanConfigurationInterpolator.removeDefaultLookup(Lookup lookup) Removes the specifiedLookupobject from the list of defaultLookups.InterpolatorSpecification.Builder.withDefaultLookup(Lookup lookup) Adds the givenLookupobject to the list of default lookups.InterpolatorSpecification.Builder.withPrefixLookup(String prefix, Lookup lookup) Adds aLookupobject for a given prefix.Method parameters in org.apache.commons.configuration2.interpol with type arguments of type LookupModifier and TypeMethodDescriptionvoidConfigurationInterpolator.addDefaultLookups(Collection<? extends Lookup> lookups) Adds allLookupobjects in the given collection as default lookups.private static voidConfigurationInterpolator.DefaultPrefixLookupsHolder.addLookup(DefaultLookups lookup, Map<String, Lookup> map) Add the prefix and lookup fromlookuptomap.voidConfigurationInterpolator.registerLookups(Map<String, ? extends Lookup> lookups) Registers allLookupobjects 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.Constructors in org.apache.commons.configuration2.interpol with parameters of type LookupModifierConstructorDescriptionprivateDefaultLookups(String prefix, Lookup lookup) Creates a new instance ofDefaultLookupsand sets the prefix and the associated lookup instance.
DefaultLookups.ENVIRONMENT.