org.apache.log4j.helpers
public class PatternParser extends Object
It is this class that parses conversion patterns and creates
a chained list of OptionConverters.
Since: 0.8.2
| Field Summary | |
|---|---|
| protected StringBuffer | currentLiteral |
| protected FormattingInfo | formattingInfo |
| protected int | i |
| protected String | pattern |
| protected int | patternLength |
| Constructor Summary | |
|---|---|
| PatternParser(String pattern) | |
| Method Summary | |
|---|---|
| protected void | addConverter(PatternConverter pc) |
| protected String | extractOption() |
| protected int | extractPrecisionOption()
The option is expected to be in decimal and positive. |
| protected void | finalizeConverter(char c) |
| PatternConverter | parse() |