org.log4j.helpers
Class PatternParser
java.lang.Object
|
+--org.log4j.helpers.PatternParser
- Direct Known Subclasses:
- MyPatternParser
- public class PatternParser
- extends Object
Most of the work of the PatternLayout
class
is delegated to the PatternParser class.
It is this class that parses conversion patterns and creates
a chained list of OptionConverters
.
- Since:
- 0.8.2
- Author:
- James P. Cakalic, Ceki Gülcü
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentLiteral
protected StringBuffer currentLiteral
patternLength
protected int patternLength
i
protected int i
formattingInfo
protected FormattingInfo formattingInfo
pattern
protected String pattern
PatternParser
public PatternParser(String pattern)
parse
public PatternConverter parse()
finalizeConverter
protected void finalizeConverter(char c)
addConverter
protected void addConverter(PatternConverter pc)
Please notify me about new log4j releases.