java.lang.Object
io.sf.jclf.text.format.ObjectFormat
io.sf.jclf.text.format.NumberFormat
io.sf.jclf.text.format.FloatFormat
io.sf.jclf.text.format.ExponentFormat
- All Implemented Interfaces:
Alignable
-
Field Summary
Fields inherited from class io.sf.jclf.text.format.FloatFormat
numpreFields inherited from class io.sf.jclf.text.format.NumberFormat
blankpre, signpre, tipo, zeropaddingFields inherited from class io.sf.jclf.text.format.ObjectFormat
flags, precision, ralign, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.sf.jclf.text.format.FloatFormat
create, create, getDecimalFormatSymbols, sample, setDecimalFormatSymbols, setFlag, toStringMethods inherited from class io.sf.jclf.text.format.NumberFormat
getRoundingFactor, roundNumber, setFormatMethods inherited from class io.sf.jclf.text.format.ObjectFormat
align, create, create, create, expandLeftToWidth, expandRightToWidth, getAlignment, rightAppend, setFlags
-
Constructor Details
-
ExponentFormat
public ExponentFormat()
-
-
Method Details
-
format
Description copied from class:ObjectFormatFormats an object according to the format specification set bysetFormat.Must be overriden by subclasses.
- Overrides:
formatin classFloatFormat- Parameters:
o- the object to be formatted.- Returns:
- a string with the formatted object.
-