Class StringLookupAdapter
- java.lang.Object
-
- org.apache.commons.configuration2.interpol.StringLookupAdapter
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.text.lookup.StringLookup
stringLookup
The StringLookup delegate.
-
Constructor Summary
Constructors Constructor Description StringLookupAdapter(org.apache.commons.text.lookup.StringLookup stringLookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
lookup(java.lang.String key)
Looks up the value of the specified variable.
-
-
-
Method Detail
-
lookup
public java.lang.Object lookup(java.lang.String key)
Description copied from interface:Lookup
Looks up the value of the specified variable. This method is called byConfigurationInterpolator
with the variable name extracted from the expression to interpolate (i.e. the prefix name has already been removed). A concrete implementation has to return the value of this variable or null if the variable name is unknown.
-
-