org.apache.karaf.shell.log.layout
Class PatternParser
java.lang.Object
org.apache.karaf.shell.log.layout.PatternParser
public class PatternParser
- extends java.lang.Object
Most of the work of the PatternLayout
class
is delegated to the PatternParser class.
- Since:
- 0.8.2
- Author:
- James P. Cakalic, Ceki Gülcü, Anders Kristensen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentLiteral
protected java.lang.StringBuffer currentLiteral
patternLength
protected int patternLength
i
protected int i
formattingInfo
protected FormattingInfo formattingInfo
pattern
protected java.lang.String pattern
PatternParser
public PatternParser(java.lang.String pattern)
extractOption
protected java.lang.String extractOption()
extractPrecisionOption
protected int extractPrecisionOption()
- The option is expected to be in decimal and positive. In case of
error, zero is returned.
parse
public PatternConverter parse()
finalizeConverter
protected void finalizeConverter(char c)
addConverter
protected void addConverter(PatternConverter pc)
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.