Class Patterns
java.lang.Object
org.apache.logging.log4j.core.util.Patterns
Pattern strings used throughout Log4j.
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
toWhitespaceSeparator
(String separator) Creates a pattern string forseparator
surrounded 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 forseparator
surrounded by whitespace.- Parameters:
separator
- The separator.- Returns:
- a pattern for
separator
surrounded by whitespace.
-