Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.logging.log4j.core.util
Class Patterns

    java.lang.Object
      org.apache.logging.log4j.core.util.Patterns

    public final class Patterns

extends Object

Pattern strings used throughout Log4j.

See Also:
  `Pattern`

Field Summary
`static String` | `COMMA_SEPARATOR` A pattern string for comma separated lists with optional whitespace.
`static String` | `WHITESPACE` The whitespace pattern string.

Method Summary
`static String` | `toWhitespaceSeparator(String separator)` Creates a pattern string for `separator` surrounded by whitespace.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### COMMA_SEPARATOR

    public static final String COMMA_SEPARATOR

  A pattern string for comma separated lists with optional whitespace.

### WHITESPACE

    public static final String WHITESPACE

  The whitespace pattern string.

  See Also:
    Constant Field Values

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2015 Apache Software Foundation. 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.