Package | Description |
---|---|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
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.
|
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.
|
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.
|
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.
|
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.