Class RuntimeStrSubstitutor
- java.lang.Object
-
- org.apache.logging.log4j.core.lookup.StrSubstitutor
-
- org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
-
- All Implemented Interfaces:
ConfigurationAware
public final class RuntimeStrSubstitutor extends StrSubstitutor
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports evaluation of top-level lookups.
-
-
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
Constructors Constructor Description RuntimeStrSubstitutor()
RuntimeStrSubstitutor(Map<String,String> valueMap)
RuntimeStrSubstitutor(Properties properties)
RuntimeStrSubstitutor(StrLookup lookup)
RuntimeStrSubstitutor(StrSubstitutor other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
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 Detail
-
RuntimeStrSubstitutor
public RuntimeStrSubstitutor()
-
RuntimeStrSubstitutor
public RuntimeStrSubstitutor(Properties properties)
-
RuntimeStrSubstitutor
public RuntimeStrSubstitutor(StrLookup lookup)
-
RuntimeStrSubstitutor
public RuntimeStrSubstitutor(StrSubstitutor other)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classStrSubstitutor
-
-