|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.util.svg.AbstractParser
com.mxgraph.util.svg.NumberParser
public abstract class NumberParser
This class represents a parser with support for numbers.
Field Summary |
---|
Fields inherited from class com.mxgraph.util.svg.AbstractParser |
---|
BUNDLE_CLASSNAME, current, errorHandler, 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 com.mxgraph.util.svg.AbstractParser |
---|
createErrorMessage, doParse, getBundleClassName, getCurrent, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, 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, java.io.IOException
ParseException
java.io.IOException
public static float buildFloat(int mant, int exp)
|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |