Package oracle.i18n.text
Class OraDecimalFormatSymbols
- java.lang.Object
-
- oracle.i18n.text.OraDecimalFormatSymbols
-
- All Implemented Interfaces:
Serializable,Cloneable
public final class OraDecimalFormatSymbols extends Object implements Cloneable, Serializable
TheOraDecimalFormatSymbolsclass is a class that maintains Oracle decimal format symbols such as decimal separator and currency symbols.- See Also:
OraDecimalFormat, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OraDecimalFormatSymbols()Deprecated.As of Oracle Database 10g Release 2 (10.2), replaced byOraDecimalFormatSymbols(Locale)OraDecimalFormatSymbols(Locale locale)Constructs anOraDecimalFormatSymbolsobject for the given locale.OraDecimalFormatSymbols(OraLocaleInfo localeInfo)Constructs anOraDecimalFormatSymbolsobject for the givenOraLocaleInfoobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Overrides theclonemethod.booleanequals(Object object)Overrides theequalsmethod.StringgetCurrencySymbol()Returns the local currency symbol for this object.chargetDecimalSeparator()Returns the decimal separator for this object.chargetGroupingSeparator()Returns the grouping separator for this object.StringgetInternationalCurrencySymbol()Returns the international currency symbol for this object.inthashCode()Overrides thehashCodemethod.voidsetCurrencySymbol(String curSym)Sets the local currency symbol to the given symbol for this object.voidsetDecimalSeparator(char decSep)Sets the decimal separator to the given symbol for this object.voidsetGroupingSeparator(char groupSep)Sets the grouping separator to the given symbol for this object.voidsetInternationalCurrencySymbol(String intCurSym)Sets the international currency symbol to the given symbol for this object.
-
-
-
Constructor Detail
-
OraDecimalFormatSymbols
public OraDecimalFormatSymbols()
Deprecated.As of Oracle Database 10g Release 2 (10.2), replaced byOraDecimalFormatSymbols(Locale)Constructs anOraDecimalFormatSymbolsobject for the default locale.
-
OraDecimalFormatSymbols
public OraDecimalFormatSymbols(Locale locale)
Constructs anOraDecimalFormatSymbolsobject for the given locale.- Parameters:
locale- the given locale
-
OraDecimalFormatSymbols
public OraDecimalFormatSymbols(OraLocaleInfo localeInfo)
Constructs anOraDecimalFormatSymbolsobject for the givenOraLocaleInfoobject.- Parameters:
localeInfo- the givenOraLocaleInfoobject
-
-
Method Detail
-
getCurrencySymbol
public String getCurrencySymbol()
Returns the local currency symbol for this object.- Returns:
- the local currency symbol
-
setCurrencySymbol
public void setCurrencySymbol(String curSym)
Sets the local currency symbol to the given symbol for this object.- Parameters:
curSym- the given local currency symbol
-
getDecimalSeparator
public char getDecimalSeparator()
Returns the decimal separator for this object.- Returns:
- the decimal separator
-
setDecimalSeparator
public void setDecimalSeparator(char decSep)
Sets the decimal separator to the given symbol for this object.- Parameters:
decSep- the given symbol
-
getGroupingSeparator
public char getGroupingSeparator()
Returns the grouping separator for this object.- Returns:
- the grouping separator
-
setGroupingSeparator
public void setGroupingSeparator(char groupSep)
Sets the grouping separator to the given symbol for this object.- Parameters:
groupSep- the given symbol
-
getInternationalCurrencySymbol
public String getInternationalCurrencySymbol()
Returns the international currency symbol for this object.- Returns:
- the international currency symbol
-
setInternationalCurrencySymbol
public void setInternationalCurrencySymbol(String intCurSym)
Sets the international currency symbol to the given symbol for this object.- Parameters:
intCurSym- the given international currency symbol
-
clone
public Object clone()
Overrides theclonemethod.
-
equals
public boolean equals(Object object)
Overrides theequalsmethod.
-
-