Package | Description |
---|---|
org.apache.commons.text |
Basic classes for text handling.
|
Modifier and Type | Method | Description |
---|---|---|
StrLookup<?> |
StrSubstitutor.getVariableResolver() |
Deprecated.
Gets the VariableResolver that is used to lookup variables.
|
static <V> StrLookup<V> |
StrLookup.mapLookup(Map<String,V> map) |
Deprecated.
Returns a lookup which looks up values using a map.
|
static StrLookup<?> |
StrLookup.noneLookup() |
Deprecated.
Returns a lookup which always returns null.
|
static StrLookup<String> |
StrLookup.resourceBundleLookup(ResourceBundle resourceBundle) |
Deprecated.
Returns a lookup which looks up values using a ResourceBundle.
|
static StrLookup<String> |
StrLookup.systemPropertiesLookup() |
Deprecated.
Returns a new lookup which uses a copy of the current
System properties . |
Modifier and Type | Method | Description |
---|---|---|
void |
StrSubstitutor.setVariableResolver(StrLookup<?> variableResolver) |
Deprecated.
Sets the VariableResolver that is used to lookup variables.
|
Constructor | Description |
---|---|
StrSubstitutor(StrLookup<?> variableResolver) |
Deprecated.
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup<?> variableResolver,
String prefix,
String suffix,
char escape) |
Deprecated.
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup<?> variableResolver,
String prefix,
String suffix,
char escape,
String valueDelimiter) |
Deprecated.
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup<?> variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape) |
Deprecated.
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup<?> variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape,
StrMatcher valueDelimiterMatcher) |
Deprecated.
Creates a new instance and initializes it.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.