|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.parser.AbstractParser | +--org.apache.batik.parser.NumberParser
This class represents a parser with support for numbers.
Fields inherited from class org.apache.batik.parser.AbstractParser |
buffer, BUNDLE_CLASSNAME, column, count, current, errorHandler, line, localizableSupport, position, reader |
Constructor Summary | |
NumberParser()
|
Method Summary | |
static float |
buildFloat(int mant,
int exp)
Computes a float from mantissa and exponent. |
protected float |
parseFloat()
Parses the content of the buffer and converts it to a float. |
Methods inherited from class org.apache.batik.parser.AbstractParser |
collapseCRNL, createErrorMessage, doParse, fillBuffer, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, read, reportError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NumberParser()
Method Detail |
protected float parseFloat() throws ParseException
public static float buildFloat(int mant, int exp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |