java.lang.Objectorg.apache.log4j.helpers.PatternParser
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
.
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected StringBuffer currentLiteral
protected int patternLength
protected int i
protected FormattingInfo formattingInfo
protected String pattern
Constructor Detail |
public PatternParser(String pattern)
Method Detail |
protected String extractOption()
protected int extractPrecisionOption()
public PatternConverter parse()
protected void finalizeConverter(char c)
protected void addConverter(PatternConverter pc)
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.