Package | Description |
---|---|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
StrMatcher.CharMatcher
Class used to define a character for matching purposes.
|
(package private) static class |
StrMatcher.CharSetMatcher
Class used to define a set of characters for matching purposes.
|
(package private) static class |
StrMatcher.NoMatcher
Class used to match no characters.
|
(package private) static class |
StrMatcher.StringMatcher
Class used to define a set of characters for matching purposes.
|
(package private) static class |
StrMatcher.TrimMatcher
Class used to match whitespace as per trim().
|
Modifier and Type | Field and Description |
---|---|
private static StrMatcher |
StrMatcher.COMMA_MATCHER
Matches the comma character.
|
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.
|
private static StrMatcher |
StrMatcher.DOUBLE_QUOTE_MATCHER
Matches the double quote character.
|
private static StrMatcher |
StrMatcher.NONE_MATCHER
Matches no characters.
|
private StrMatcher |
StrSubstitutor.prefixMatcher
Stores the variable prefix.
|
private static StrMatcher |
StrMatcher.QUOTE_MATCHER
Matches the single or double quote character.
|
private static StrMatcher |
StrMatcher.SINGLE_QUOTE_MATCHER
Matches the double quote character.
|
private static StrMatcher |
StrMatcher.SPACE_MATCHER
Matches the space character.
|
private static StrMatcher |
StrMatcher.SPLIT_MATCHER
Matches the same characters as StringTokenizer,
namely space, tab, newline, formfeed.
|
private StrMatcher |
StrSubstitutor.suffixMatcher
Stores the variable suffix.
|
private static StrMatcher |
StrMatcher.TAB_MATCHER
Matches the tab character.
|
private static StrMatcher |
StrMatcher.TRIM_MATCHER
Matches the String trim() whitespace characters.
|
private StrMatcher |
StrSubstitutor.valueDelimiterMatcher
Stores the default variable value delimiter
|
Modifier and Type | Method and 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(java.lang.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(java.lang.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.
|
Modifier and Type | Method and 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.
|
Constructor and 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.
|