Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.text.DecimalFormat

Availability: JDK 1.1

public class DecimalFormat extends NumberFormat {
   // Public Constructors
      public DecimalFormat();
      public DecimalFormat(String pattern);
      public DecimalFormat(String pattern, DecimalFormatSymbols symbols);
   // Public Instance Methods
      public void applyLocalizedPattern(String pattern);
      public void applyPattern(String pattern);
      public Object clone();  // Overrides NumberFormat.clone()
      public boolean equals(Object obj);  // Overrides NumberFormat.equals()
      public StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition);  // Defines NumberFormat.format()
      public StringBuffer format(long number, StringBuffer result, FieldPosition fieldPosition);  // Defines NumberFormat.format()
      public DecimalFormatSymbols getDecimalFormatSymbols();
      public int getGroupingSize();
      public int getMultiplier();
      public String getNegativePrefix();
      public String getNegativeSuffix();
      public String getPositivePrefix();
      public String getPositiveSuffix();
      public int hashCode();  // Overrides NumberFormat.hashCode()
      public boolean isDecimalSeparatorAlwaysShown();
      public Number parse(String text, ParsePosition status);  // Defines NumberFormat.parse()
      public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols);
      public void setDecimalSeparatorAlwaysShown(boolean newValue);
      public void setGroupingSize(int newValue);
      public void setMultiplier(int newValue);
      public void setNegativePrefix(String newValue);
      public void setNegativeSuffix(String newValue);
      public void setPositivePrefix(String newValue);
      public void setPositiveSuffix(String newValue);
      public String toLocalizedPattern();
      public String toPattern();
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.