Class Patterns
java.lang.Object
org.apache.logging.log4j.core.util.Patterns
Pattern strings used throughout Log4j.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoWhitespaceSeparator(String separator) Creates a pattern string forseparatorsurrounded by whitespace.
-
Field Details
-
COMMA_SEPARATOR
A pattern string for comma separated lists with optional whitespace. -
COMMA_SPACE_SEPARATOR
A pattern string for lists separated by commas with optional whitespace or just whitespace. -
WHITESPACE
The whitespace pattern string.- See Also:
-
-
Method Details
-
toWhitespaceSeparator
Creates a pattern string forseparatorsurrounded by whitespace.- Parameters:
separator- The separator.- Returns:
- a pattern for
separatorsurrounded by whitespace.
-