org.apache.batik.parser

Class NumberParser

public abstract class NumberParser extends AbstractParser

This class represents a parser with support for numbers.
Method Summary
static floatbuildFloat(int mant, int exp)
Computes a float from mantissa and exponent.
protected floatparseFloat()
Parses the content of the buffer and converts it to a float.

Method Detail

buildFloat

public static float buildFloat(int mant, int exp)
Computes a float from mantissa and exponent.

parseFloat

protected float parseFloat()
Parses the content of the buffer and converts it to a float.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.