Class ConfigurationStrSubstitutor
java.lang.Object
org.apache.logging.log4j.core.lookup.StrSubstitutor
org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- All Implemented Interfaces:
ConfigurationAware
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.-
Field Summary
Fields inherited from class org.apache.logging.log4j.core.lookup.StrSubstitutor
DEFAULT_ESCAPE, DEFAULT_PREFIX, DEFAULT_SUFFIX, DEFAULT_VALUE_DELIMITER, DEFAULT_VALUE_DELIMITER_STRING, DEFAULT_VALUE_ESCAPE_DELIMITER, ESCAPE_DELIMITER_STRING
-
Constructor Summary
ConstructorDescriptionConfigurationStrSubstitutor
(Map<String, String> valueMap) ConfigurationStrSubstitutor
(Properties properties) ConfigurationStrSubstitutor
(StrLookup lookup) -
Method Summary
Methods inherited from class org.apache.logging.log4j.core.lookup.StrSubstitutor
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, setConfiguration, setEnableSubstitutionInVariables, setEscapeChar, setValueDelimiter, setValueDelimiter, setValueDelimiterMatcher, setVariablePrefix, setVariablePrefix, setVariablePrefixMatcher, setVariableResolver, setVariableSuffix, setVariableSuffix, setVariableSuffixMatcher, substitute
-
Constructor Details
-
ConfigurationStrSubstitutor
public ConfigurationStrSubstitutor() -
ConfigurationStrSubstitutor
-
ConfigurationStrSubstitutor
-
ConfigurationStrSubstitutor
-
ConfigurationStrSubstitutor
-
-
Method Details
-
toString
- Overrides:
toString
in classStrSubstitutor
-