org.jboss.logging.jdk.format
Class PatternParser
java.lang.Object
org.jboss.logging.jdk.format.PatternParser
public class PatternParser
- extends Object
Pattern Parser
- Version:
- $Revision: 2786 $
- Author:
- James P. Cakalic, Ceki Gülcü, Anders Kristensen, Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_SEP
public static final String LINE_SEP
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)
extractOption
protected String extractOption()
extractPrecisionOption
protected int extractPrecisionOption()
- The option is expected to be in decimal and positive. In case of
error, zero is returned.
- Returns:
- the precision option
parse
public PatternConverter parse()
finalizeConverter
protected void finalizeConverter(char c)
addConverter
protected void addConverter(PatternConverter pc)
Copyright © 2009 JBoss Inc.. All Rights Reserved.