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
numpre
Fields inherited from class io.sf.jclf.text.format.NumberFormat
blankpre, signpre, tipo, zeropadding
Fields inherited from class io.sf.jclf.text.format.ObjectFormat
flags, precision, ralign, width
-
Constructor Summary
-
Method Summary
Methods inherited from class io.sf.jclf.text.format.FloatFormat
create, create, getDecimalFormatSymbols, sample, setDecimalFormatSymbols, setFlag, toString
Methods inherited from class io.sf.jclf.text.format.NumberFormat
getRoundingFactor, roundNumber, setFormat
Methods 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:ObjectFormat
Formats an object according to the format specification set bysetFormat
.Must be overriden by subclasses.
- Overrides:
format
in classFloatFormat
- Parameters:
o
- the object to be formatted.- Returns:
- a string with the formatted object.
-