DecimalFormatSymbols (Java Platform SE 7 ) (original) (raw)

Modifier and Type

Method and Description

[Object](../../java/lang/Object.html "class in java.lang")

**[clone](../../java/text/DecimalFormatSymbols.html#clone%28%29)**()

Standard override.

boolean

**[equals](../../java/text/DecimalFormatSymbols.html#equals%28java.lang.Object%29)**([Object](../../java/lang/Object.html "class in java.lang") obj)

Override equals.

static [Locale](../../java/util/Locale.html "class in java.util")[]

**[getAvailableLocales](../../java/text/DecimalFormatSymbols.html#getAvailableLocales%28%29)**()

Returns an array of all locales for which thegetInstance methods of this class can return localized instances.

[Currency](../../java/util/Currency.html "class in java.util")

**[getCurrency](../../java/text/DecimalFormatSymbols.html#getCurrency%28%29)**()

Gets the currency of these DecimalFormatSymbols.

[String](../../java/lang/String.html "class in java.lang")

**[getCurrencySymbol](../../java/text/DecimalFormatSymbols.html#getCurrencySymbol%28%29)**()

Returns the currency symbol for the currency of these DecimalFormatSymbols in their locale.

char

**[getDecimalSeparator](../../java/text/DecimalFormatSymbols.html#getDecimalSeparator%28%29)**()

Gets the character used for decimal sign.

char

**[getDigit](../../java/text/DecimalFormatSymbols.html#getDigit%28%29)**()

Gets the character used for a digit in a pattern.

[String](../../java/lang/String.html "class in java.lang")

**[getExponentSeparator](../../java/text/DecimalFormatSymbols.html#getExponentSeparator%28%29)**()

Returns the string used to separate the mantissa from the exponent.

char

**[getGroupingSeparator](../../java/text/DecimalFormatSymbols.html#getGroupingSeparator%28%29)**()

Gets the character used for thousands separator.

[String](../../java/lang/String.html "class in java.lang")

**[getInfinity](../../java/text/DecimalFormatSymbols.html#getInfinity%28%29)**()

Gets the string used to represent infinity.

static [DecimalFormatSymbols](../../java/text/DecimalFormatSymbols.html "class in java.text")

**[getInstance](../../java/text/DecimalFormatSymbols.html#getInstance%28%29)**()

Gets the DecimalFormatSymbols instance for the default locale.

static [DecimalFormatSymbols](../../java/text/DecimalFormatSymbols.html "class in java.text")

**[getInstance](../../java/text/DecimalFormatSymbols.html#getInstance%28java.util.Locale%29)**([Locale](../../java/util/Locale.html "class in java.util") locale)

Gets the DecimalFormatSymbols instance for the specified locale.

[String](../../java/lang/String.html "class in java.lang")

**[getInternationalCurrencySymbol](../../java/text/DecimalFormatSymbols.html#getInternationalCurrencySymbol%28%29)**()

Returns the ISO 4217 currency code of the currency of these DecimalFormatSymbols.

char

**[getMinusSign](../../java/text/DecimalFormatSymbols.html#getMinusSign%28%29)**()

Gets the character used to represent minus sign.

char

**[getMonetaryDecimalSeparator](../../java/text/DecimalFormatSymbols.html#getMonetaryDecimalSeparator%28%29)**()

Returns the monetary decimal separator.

[String](../../java/lang/String.html "class in java.lang")

**[getNaN](../../java/text/DecimalFormatSymbols.html#getNaN%28%29)**()

Gets the string used to represent "not a number".

char

**[getPatternSeparator](../../java/text/DecimalFormatSymbols.html#getPatternSeparator%28%29)**()

Gets the character used to separate positive and negative subpatterns in a pattern.

char

**[getPercent](../../java/text/DecimalFormatSymbols.html#getPercent%28%29)**()

Gets the character used for percent sign.

char

**[getPerMill](../../java/text/DecimalFormatSymbols.html#getPerMill%28%29)**()

Gets the character used for per mille sign.

char

**[getZeroDigit](../../java/text/DecimalFormatSymbols.html#getZeroDigit%28%29)**()

Gets the character used for zero.

int

**[hashCode](../../java/text/DecimalFormatSymbols.html#hashCode%28%29)**()

Override hashCode.

void

**[setCurrency](../../java/text/DecimalFormatSymbols.html#setCurrency%28java.util.Currency%29)**([Currency](../../java/util/Currency.html "class in java.util") currency)

Sets the currency of these DecimalFormatSymbols.

void

**[setCurrencySymbol](../../java/text/DecimalFormatSymbols.html#setCurrencySymbol%28java.lang.String%29)**([String](../../java/lang/String.html "class in java.lang") currency)

Sets the currency symbol for the currency of these DecimalFormatSymbols in their locale.

void

**[setDecimalSeparator](../../java/text/DecimalFormatSymbols.html#setDecimalSeparator%28char%29)**(char decimalSeparator)

Sets the character used for decimal sign.

void

**[setDigit](../../java/text/DecimalFormatSymbols.html#setDigit%28char%29)**(char digit)

Sets the character used for a digit in a pattern.

void

**[setExponentSeparator](../../java/text/DecimalFormatSymbols.html#setExponentSeparator%28java.lang.String%29)**([String](../../java/lang/String.html "class in java.lang") exp)

Sets the string used to separate the mantissa from the exponent.

void

**[setGroupingSeparator](../../java/text/DecimalFormatSymbols.html#setGroupingSeparator%28char%29)**(char groupingSeparator)

Sets the character used for thousands separator.

void

**[setInfinity](../../java/text/DecimalFormatSymbols.html#setInfinity%28java.lang.String%29)**([String](../../java/lang/String.html "class in java.lang") infinity)

Sets the string used to represent infinity.

void

**[setInternationalCurrencySymbol](../../java/text/DecimalFormatSymbols.html#setInternationalCurrencySymbol%28java.lang.String%29)**([String](../../java/lang/String.html "class in java.lang") currencyCode)

Sets the ISO 4217 currency code of the currency of these DecimalFormatSymbols.

void

**[setMinusSign](../../java/text/DecimalFormatSymbols.html#setMinusSign%28char%29)**(char minusSign)

Sets the character used to represent minus sign.

void

**[setMonetaryDecimalSeparator](../../java/text/DecimalFormatSymbols.html#setMonetaryDecimalSeparator%28char%29)**(char sep)

Sets the monetary decimal separator.

void

**[setNaN](../../java/text/DecimalFormatSymbols.html#setNaN%28java.lang.String%29)**([String](../../java/lang/String.html "class in java.lang") NaN)

Sets the string used to represent "not a number".

void

**[setPatternSeparator](../../java/text/DecimalFormatSymbols.html#setPatternSeparator%28char%29)**(char patternSeparator)

Sets the character used to separate positive and negative subpatterns in a pattern.

void

**[setPercent](../../java/text/DecimalFormatSymbols.html#setPercent%28char%29)**(char percent)

Sets the character used for percent sign.

void

**[setPerMill](../../java/text/DecimalFormatSymbols.html#setPerMill%28char%29)**(char perMill)

Sets the character used for per mille sign.

void

**[setZeroDigit](../../java/text/DecimalFormatSymbols.html#setZeroDigit%28char%29)**(char zeroDigit)

Sets the character used for zero.