Uses of Class
org.apache.logging.log4j.core.lookup.StrMatcher
-
Packages that use StrMatcher Package Description org.apache.logging.log4j.core.lookup Log4j 2 Lookups. -
-
Uses of StrMatcher in org.apache.logging.log4j.core.lookup
Fields in org.apache.logging.log4j.core.lookup declared as StrMatcher Modifier and Type Field Description static StrMatcher
StrSubstitutor. DEFAULT_PREFIX
Constant for the default variable prefix.static StrMatcher
StrSubstitutor. DEFAULT_SUFFIX
Constant for the default variable suffix.static StrMatcher
StrSubstitutor. DEFAULT_VALUE_DELIMITER
Constant for the default value delimiter of a variable.Methods in org.apache.logging.log4j.core.lookup that return StrMatcher Modifier and Type Method Description static StrMatcher
StrMatcher. charMatcher(char ch)
Constructor that creates a matcher from a character.static StrMatcher
StrMatcher. charSetMatcher(char[] chars)
Constructor that creates a matcher from a set of characters.static StrMatcher
StrMatcher. charSetMatcher(String chars)
Constructor that creates a matcher from a string representing a set of characters.static StrMatcher
StrMatcher. commaMatcher()
Returns a matcher which matches the comma character.static StrMatcher
StrMatcher. doubleQuoteMatcher()
Returns a matcher which matches the double quote character.StrMatcher
StrSubstitutor. getValueDelimiterMatcher()
Gets the variable default value delimiter matcher currently in use.StrMatcher
StrSubstitutor. getVariablePrefixMatcher()
Gets the variable prefix matcher currently in use.StrMatcher
StrSubstitutor. getVariableSuffixMatcher()
Gets the variable suffix matcher currently in use.static StrMatcher
StrMatcher. noneMatcher()
Matches no characters.static StrMatcher
StrMatcher. quoteMatcher()
Returns a matcher which matches the single or double quote character.static StrMatcher
StrMatcher. singleQuoteMatcher()
Returns a matcher which matches the single quote character.static StrMatcher
StrMatcher. spaceMatcher()
Returns a matcher which matches the space character.static StrMatcher
StrMatcher. splitMatcher()
Matches the same characters as StringTokenizer, namely space, tab, newline and formfeed.static StrMatcher
StrMatcher. stringMatcher(String str)
Constructor that creates a matcher from a string.static StrMatcher
StrMatcher. tabMatcher()
Returns a matcher which matches the tab character.static StrMatcher
StrMatcher. trimMatcher()
Matches the String trim() whitespace characters.Methods in org.apache.logging.log4j.core.lookup with parameters of type StrMatcher Modifier and Type Method Description StrSubstitutor
StrSubstitutor. setValueDelimiterMatcher(StrMatcher valueDelimiterMatcher)
Sets the variable default value delimiter matcher to use.StrSubstitutor
StrSubstitutor. setVariablePrefixMatcher(StrMatcher prefixMatcher)
Sets the variable prefix matcher currently in use.StrSubstitutor
StrSubstitutor. setVariableSuffixMatcher(StrMatcher suffixMatcher)
Sets the variable suffix matcher currently in use.Constructors in org.apache.logging.log4j.core.lookup with parameters of type StrMatcher Constructor Description StrSubstitutor(StrLookup variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape)
Creates a new instance and initializes it.StrSubstitutor(StrLookup variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape, StrMatcher valueDelimiterMatcher)
Creates a new instance and initializes it.
-