Package de.willuhn.jameica.util
Class CustomDecimalFormat
- java.lang.Object
-
- java.text.Format
-
- java.text.NumberFormat
-
- java.text.DecimalFormat
-
- de.willuhn.jameica.util.CustomDecimalFormat
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class CustomDecimalFormat extends java.text.DecimalFormatCustom-Decimalformat- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomDecimalFormat()ct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBufferformat(double number, java.lang.StringBuffer result, java.text.FieldPosition fieldPosition)Nachformatieren fuer "-0,00".-
Methods inherited from class java.text.DecimalFormat
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
-
Methods inherited from class java.text.NumberFormat
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnly
-
-
-
-
Method Detail
-
format
public java.lang.StringBuffer format(double number, java.lang.StringBuffer result, java.text.FieldPosition fieldPosition)Nachformatieren fuer "-0,00".- Overrides:
formatin classjava.text.DecimalFormat- See Also:
DecimalFormat.format(double, java.lang.StringBuffer, java.text.FieldPosition)
-
-