vclip
Class FloatFormat

java.lang.Object
  extended byjava.text.Format
      extended byjava.text.NumberFormat
          extended byjava.text.DecimalFormat
              extended byvclip.FloatFormat
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class FloatFormat
extends java.text.DecimalFormat

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.text.NumberFormat
java.text.NumberFormat.Field
 
Field Summary
 
Fields inherited from class java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD
 
Constructor Summary
FloatFormat(java.lang.String s)
           
 
Method Summary
 java.lang.StringBuffer format(double number, java.lang.StringBuffer res, java.text.FieldPosition pos)
           
 java.lang.StringBuffer format(long number, java.lang.StringBuffer res, java.text.FieldPosition pos)
           
static java.lang.String format(java.lang.String s, double val)
           
 
Methods inherited from class java.text.DecimalFormat
applyLocalizedPattern, applyPattern, clone, equals, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, hashCode, isDecimalSeparatorAlwaysShown, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setPositivePrefix, setPositiveSuffix, toLocalizedPattern, toPattern
 
Methods inherited from class java.text.NumberFormat
format, format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setGroupingUsed, setParseIntegerOnly
 
Methods inherited from class java.text.Format
format, parseObject
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatFormat

public FloatFormat(java.lang.String s)
            throws java.lang.IllegalArgumentException
Method Detail

format

public static java.lang.String format(java.lang.String s,
                                      double val)

format

public java.lang.StringBuffer format(double number,
                                     java.lang.StringBuffer res,
                                     java.text.FieldPosition pos)

format

public java.lang.StringBuffer format(long number,
                                     java.lang.StringBuffer res,
                                     java.text.FieldPosition pos)