public class FloatingPointFormat extends java.text.DecimalFormat implements RevisionHandler
Constructor and Description |
---|
FloatingPointFormat()
Default constructor
|
FloatingPointFormat(int digits) |
FloatingPointFormat(int w,
int d) |
FloatingPointFormat(int w,
int d,
boolean trailingZeros) |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
format(double number,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition pos) |
java.lang.String |
getRevision()
Returns the revision string.
|
static java.lang.String |
pattern(int w,
int d) |
int |
width() |
applyLocalizedPattern, applyPattern, clone, equals, format, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, getRoundingMode, hashCode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, setRoundingMode, toLocalizedPattern, toPattern
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnly
public FloatingPointFormat()
public FloatingPointFormat(int digits)
public FloatingPointFormat(int w, int d)
public FloatingPointFormat(int w, int d, boolean trailingZeros)
public java.lang.StringBuffer format(double number, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
format
in class java.text.DecimalFormat
public static java.lang.String pattern(int w, int d)
public int width()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler