All Packages  Class Hierarchy  This Package  Previous  Next  Index
Class java.text.DecimalFormatSymbols 
java.lang.Object
|
   +----java.text.DecimalFormatSymbols
- public final class DecimalFormatSymbols - extends Object - implements Cloneable, Serializable 
This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed byDecimalFormat to format numbers. DecimalFormat creates for itself an instance of DecimalFormatSymbols from its locale data. If you need to change any of these symbols, you can get the DecimalFormatSymbols object from your DecimalFormat and modify it. - See Also: 
- Locale, DecimalFormat 
 
 
 DecimalFormatSymbols() DecimalFormatSymbols()
- Create a DecimalFormatSymbols object for the default locale. 
 DecimalFormatSymbols(Locale) DecimalFormatSymbols(Locale)
- Create a DecimalFormatSymbols object for the given locale. 
 
 
 clone() clone()
- Standard override. 
 equals(Object) equals(Object)
- Override equals 
 getDecimalSeparator() getDecimalSeparator()
- character used for decimal sign. 
 getDigit() getDigit()
- character used for a digit in a pattern. 
 getGroupingSeparator() getGroupingSeparator()
- character used for thousands separator. 
 getInfinity() getInfinity()
- character used to represent infinity. 
 getMinusSign() getMinusSign()
- character used to represent minus sign. 
 getNaN() getNaN()
- character used to represent NaN. 
 getPatternSeparator() getPatternSeparator()
- character used to separate positive and negative subpatterns in a pattern. 
 getPercent() getPercent()
- character used for percent sign. 
 getPerMill() getPerMill()
- character used for mille percent sign. 
 getZeroDigit() getZeroDigit()
- character used for zero. 
 hashCode() hashCode()
- Override hashCode 
 setDecimalSeparator(char) setDecimalSeparator(char)
 setDigit(char) setDigit(char)
 setGroupingSeparator(char) setGroupingSeparator(char)
 setInfinity(String) setInfinity(String)
 setMinusSign(char) setMinusSign(char)
 setNaN(String) setNaN(String)
 setPatternSeparator(char) setPatternSeparator(char)
 setPercent(char) setPercent(char)
 setPerMill(char) setPerMill(char)
 setZeroDigit(char) setZeroDigit(char)
 
 
 DecimalFormatSymbols
 DecimalFormatSymbols 
public DecimalFormatSymbols()
- Create a DecimalFormatSymbols object for the default locale. 
 DecimalFormatSymbols
 DecimalFormatSymbols 
public DecimalFormatSymbols(Locale locale)
- Create a DecimalFormatSymbols object for the given locale. 
 
 
 getZeroDigit
 getZeroDigit 
public char getZeroDigit()
- character used for zero. Different for Arabic, etc. 
 setZeroDigit
 setZeroDigit 
public void setZeroDigit(char zeroDigit)
 getGroupingSeparator
 getGroupingSeparator 
public char getGroupingSeparator()
- character used for thousands separator. Different for French, etc. 
 setGroupingSeparator
 setGroupingSeparator 
public void setGroupingSeparator(char groupingSeparator)
 getDecimalSeparator
 getDecimalSeparator 
public char getDecimalSeparator()
- character used for decimal sign. Different for French, etc. 
 setDecimalSeparator
 setDecimalSeparator 
public void setDecimalSeparator(char decimalSeparator)
 getPerMill
 getPerMill 
public char getPerMill()
- character used for mille percent sign. Different for Arabic, etc. 
 setPerMill
 setPerMill 
public void setPerMill(char perMill)
 getPercent
 getPercent 
public char getPercent()
- character used for percent sign. Different for Arabic, etc. 
 setPercent
 setPercent 
public void setPercent(char percent)
 getDigit
 getDigit 
public char getDigit()
- character used for a digit in a pattern. 
 setDigit
 setDigit 
public void setDigit(char digit)
 getPatternSeparator
 getPatternSeparator 
public char getPatternSeparator()
- character used to separate positive and negative subpatterns in a pattern. 
 setPatternSeparator
 setPatternSeparator 
public void setPatternSeparator(char patternSeparator)
 getInfinity
 getInfinity 
public String getInfinity()
- character used to represent infinity. Almost always left unchanged. 
 setInfinity
 setInfinity 
public void setInfinity(String infinity)
 getNaN
 getNaN 
public String getNaN()
- character used to represent NaN. Almost always left unchanged. 
 setNaN
 setNaN 
public void setNaN(String NaN)
 getMinusSign
 getMinusSign 
public char getMinusSign()
- character used to represent minus sign. If no explicit negative format is specified, one is formed by prefixing minusSign to the positive format. 
 setMinusSign
 setMinusSign 
public void setMinusSign(char minusSign)
 clone
 clone 
public Object clone()
- Standard override. - Overrides: 
- clone in class Object 
 
 equals
 equals 
public boolean equals(Object obj)
- Override equals - Overrides: 
- equals in class Object 
 
 hashCode
 hashCode 
public int hashCode()
- Override hashCode - Overrides: 
- hashCode in class Object 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.