|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.pattern.PatternParser
public final class PatternParser
Most of the work of the EnhancedPatternLayout
class
is delegated to the PatternParser class.
It is this class that parses conversion patterns and creates
a chained list of PatternConverters
.
Method Summary | |
---|---|
static java.util.Map |
getFileNamePatternRules()
Get standard format specifiers for rolling file appender file specification. |
static java.util.Map |
getPatternLayoutRules()
Get standard format specifiers for EnhancedPatternLayout. |
static void |
parse(java.lang.String pattern,
java.util.List patternConverters,
java.util.List formattingInfos,
java.util.Map converterRegistry,
java.util.Map rules)
Parse a format specifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Map getPatternLayoutRules()
public static java.util.Map getFileNamePatternRules()
public static void parse(java.lang.String pattern, java.util.List patternConverters, java.util.List formattingInfos, java.util.Map converterRegistry, java.util.Map rules)
pattern
- pattern to parse.patternConverters
- list to receive pattern converters.formattingInfos
- list to receive field specifiers corresponding to pattern converters.converterRegistry
- map of user-supported pattern converters keyed by format specifier, may be null.rules
- map of stock pattern converters keyed by format specifier.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.