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
Subclasses of StrMatcher in org.apache.logging.log4j.core.lookup Modifier and Type Class Description (package private) static classStrMatcher.CharMatcherClass used to define a character for matching purposes.(package private) static classStrMatcher.CharSetMatcherClass used to define a set of characters for matching purposes.(package private) static classStrMatcher.NoMatcherClass used to match no characters.(package private) static classStrMatcher.StringMatcherClass used to define a set of characters for matching purposes.(package private) static classStrMatcher.TrimMatcherClass used to match whitespace as per trim().Fields in org.apache.logging.log4j.core.lookup declared as StrMatcher Modifier and Type Field Description private static StrMatcherStrMatcher. COMMA_MATCHERMatches the comma character.static StrMatcherStrSubstitutor. DEFAULT_PREFIXConstant for the default variable prefix.static StrMatcherStrSubstitutor. DEFAULT_SUFFIXConstant for the default variable suffix.static StrMatcherStrSubstitutor. DEFAULT_VALUE_DELIMITERstatic StrMatcherStrSubstitutor. DEFAULT_VALUE_ESCAPE_DELIMITERprivate static StrMatcherStrMatcher. DOUBLE_QUOTE_MATCHERMatches the double quote character.private static StrMatcherStrMatcher. NONE_MATCHERMatches no characters.private StrMatcherStrSubstitutor. prefixMatcherStores the variable prefix.private static StrMatcherStrMatcher. QUOTE_MATCHERMatches the single or double quote character.private static StrMatcherStrMatcher. SINGLE_QUOTE_MATCHERMatches the double quote character.private static StrMatcherStrMatcher. SPACE_MATCHERMatches the space character.private static StrMatcherStrMatcher. SPLIT_MATCHERMatches the same characters as StringTokenizer, namely space, tab, newline, formfeed.private StrMatcherStrSubstitutor. suffixMatcherStores the variable suffix.private static StrMatcherStrMatcher. TAB_MATCHERMatches the tab character.private static StrMatcherStrMatcher. TRIM_MATCHERMatches the String trim() whitespace characters.private StrMatcherStrSubstitutor. valueDelimiterMatcherprivate StrMatcherStrSubstitutor. valueEscapeDelimiterMatcherEscape string to avoid matching the value delimiter matcher;Methods in org.apache.logging.log4j.core.lookup that return StrMatcher Modifier and Type Method Description static StrMatcherStrMatcher. charMatcher(char ch)Constructor that creates a matcher from a character.static StrMatcherStrMatcher. charSetMatcher(char[] chars)Constructor that creates a matcher from a set of characters.static StrMatcherStrMatcher. charSetMatcher(java.lang.String chars)Constructor that creates a matcher from a string representing a set of characters.static StrMatcherStrMatcher. commaMatcher()Returns a matcher which matches the comma character.static StrMatcherStrMatcher. doubleQuoteMatcher()Returns a matcher which matches the double quote character.StrMatcherStrSubstitutor. getValueDelimiterMatcher()Gets the variable default value delimiter matcher currently in use.StrMatcherStrSubstitutor. getVariablePrefixMatcher()Gets the variable prefix matcher currently in use.StrMatcherStrSubstitutor. getVariableSuffixMatcher()Gets the variable suffix matcher currently in use.static StrMatcherStrMatcher. noneMatcher()Matches no characters.static StrMatcherStrMatcher. quoteMatcher()Returns a matcher which matches the single or double quote character.static StrMatcherStrMatcher. singleQuoteMatcher()Returns a matcher which matches the single quote character.static StrMatcherStrMatcher. spaceMatcher()Returns a matcher which matches the space character.static StrMatcherStrMatcher. splitMatcher()Matches the same characters as StringTokenizer, namely space, tab, newline and formfeed.static StrMatcherStrMatcher. stringMatcher(java.lang.String str)Constructor that creates a matcher from a string.static StrMatcherStrMatcher. tabMatcher()Returns a matcher which matches the tab character.static StrMatcherStrMatcher. 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 StrSubstitutorStrSubstitutor. setValueDelimiterMatcher(StrMatcher valueDelimiterMatcher)Sets the variable default value delimiter matcher to use.StrSubstitutorStrSubstitutor. setVariablePrefixMatcher(StrMatcher prefixMatcher)Sets the variable prefix matcher currently in use.StrSubstitutorStrSubstitutor. 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.StrSubstitutor(StrLookup variableResolver, StrMatcher prefixMatcher, StrMatcher suffixMatcher, char escape, StrMatcher valueDelimiterMatcher, StrMatcher valueEscapeMatcher)Creates a new instance and initializes it.
-