Class Patterns


  • public final class Patterns
    extends Object
    Pattern strings used throughout Log4j.
    See Also:
    Pattern
    • Field Detail

      • COMMA_SEPARATOR

        public static final String COMMA_SEPARATOR
        A pattern string for comma separated lists with optional whitespace.
    • Method Detail

      • toWhitespaceSeparator

        public static String toWhitespaceSeparator​(String separator)
        Creates a pattern string for separator surrounded by whitespace.
        Parameters:
        separator - The separator.
        Returns:
        a pattern for separator surrounded by whitespace.