Module datarush.library
Class Log4jPatternParser
java.lang.Object
com.pervasive.datarush.operators.io.textfile.Log4jPatternParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGGER
- See Also:
-
MESSAGE
- See Also:
-
TIMESTAMP
- See Also:
-
NDC
- See Also:
-
LEVEL
- See Also:
-
THREAD
- See Also:
-
CLASS
- See Also:
-
FILE
- See Also:
-
LINE
- See Also:
-
METHOD
- See Also:
-
PATTERN_LAYOUT_RULES
-
-
Constructor Details
-
Log4jPatternParser
public Log4jPatternParser()
-
-
Method Details
-
parse
public static void parse(String pattern, List<String> tokens, Map<String, String> rules) throws ParseExceptionParse a log4j format specifier string.- Parameters:
pattern- pattern to parse.tokens- list to receive String tokensrules- map of stock pattern tokens keyed by format specifier.- Throws:
ParseException
-