Package | Description |
---|---|
org.apache.commons.lang.text |
Provides classes for handling and manipulating text, partly as an extension to
java.text . |
Modifier and Type | Method and Description |
---|---|
StrLookup |
StrSubstitutor.getVariableResolver()
Gets the VariableResolver that is used to lookup variables.
|
static StrLookup |
StrLookup.mapLookup(java.util.Map map)
Returns a lookup which looks up values using a map.
|
static StrLookup |
StrLookup.noneLookup()
Returns a lookup which always returns null.
|
static StrLookup |
StrLookup.systemPropertiesLookup()
Returns a lookup which uses
System properties
to lookup the key to value. |
Modifier and Type | Method and Description |
---|---|
void |
StrSubstitutor.setVariableResolver(StrLookup variableResolver)
Sets the VariableResolver that is used to lookup variables.
|
Constructor and Description |
---|
StrSubstitutor(StrLookup variableResolver)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
java.lang.String prefix,
java.lang.String suffix,
char escape)
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape)
Creates a new instance and initializes it.
|
Copyright © 2001-2025 - Apache Software Foundation