public final class ConfigurationStrSubstitutor extends StrSubstitutor
RuntimeStrSubstitutor is a StrSubstitutor which only supports recursive evaluation of lookups.
This can be dangerous when combined with user-provided inputs, and should only be used on data directly from
a configuration.DEFAULT_ESCAPE, DEFAULT_PREFIX, DEFAULT_SUFFIX, DEFAULT_VALUE_DELIMITER, DEFAULT_VALUE_DELIMITER_STRING, DEFAULT_VALUE_ESCAPE_DELIMITER, ESCAPE_DELIMITER_STRING| Constructor and Description |
|---|
ConfigurationStrSubstitutor() |
ConfigurationStrSubstitutor(Map<String,String> valueMap) |
ConfigurationStrSubstitutor(Properties properties) |
ConfigurationStrSubstitutor(StrLookup lookup) |
ConfigurationStrSubstitutor(StrSubstitutor other) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
appendWithSeparators, getEscapeChar, getValueDelimiterMatcher, getVariablePrefixMatcher, getVariableResolver, getVariableSuffixMatcher, isEnableSubstitutionInVariables, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replaceIn, replaceIn, replaceIn, replaceIn, replaceIn, replaceIn, replaceIn, resolveVariable, setEnableSubstitutionInVariables, setEscapeChar, setValueDelimiter, setValueDelimiter, setValueDelimiterMatcher, setVariablePrefix, setVariablePrefix, setVariablePrefixMatcher, setVariableResolver, setVariableSuffix, setVariableSuffix, setVariableSuffixMatcher, substitutepublic ConfigurationStrSubstitutor()
public ConfigurationStrSubstitutor(Map<String,String> valueMap)
public ConfigurationStrSubstitutor(Properties properties)
public ConfigurationStrSubstitutor(StrLookup lookup)
public ConfigurationStrSubstitutor(StrSubstitutor other)
public String toString()
toString in class StrSubstitutorCopyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.