public abstract class NumberParser extends AbstractParser
Modifier and Type | Field and Description |
---|---|
private static double[] |
pow10
Array of powers of ten.
|
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader
Constructor and Description |
---|
NumberParser() |
Modifier and Type | Method and Description |
---|---|
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.
|
createErrorMessage, doParse, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportCharacterExpectedError, reportError, reportUnexpectedCharacterError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces
private static final double[] pow10
protected float parseFloat() throws ParseException, java.io.IOException
ParseException
java.io.IOException
public static float buildFloat(int mant, int exp)