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
TheOraDecimalFormatSymbols
class 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 anOraDecimalFormatSymbols
object for the given locale.OraDecimalFormatSymbols(OraLocaleInfo localeInfo)
Constructs anOraDecimalFormatSymbols
object for the givenOraLocaleInfo
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Overrides theclone
method.boolean
equals(Object object)
Overrides theequals
method.String
getCurrencySymbol()
Returns the local currency symbol for this object.char
getDecimalSeparator()
Returns the decimal separator for this object.char
getGroupingSeparator()
Returns the grouping separator for this object.String
getInternationalCurrencySymbol()
Returns the international currency symbol for this object.int
hashCode()
Overrides thehashCode
method.void
setCurrencySymbol(String curSym)
Sets the local currency symbol to the given symbol for this object.void
setDecimalSeparator(char decSep)
Sets the decimal separator to the given symbol for this object.void
setGroupingSeparator(char groupSep)
Sets the grouping separator to the given symbol for this object.void
setInternationalCurrencySymbol(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 anOraDecimalFormatSymbols
object for the default locale.
-
OraDecimalFormatSymbols
public OraDecimalFormatSymbols(Locale locale)
Constructs anOraDecimalFormatSymbols
object for the given locale.- Parameters:
locale
- the given locale
-
OraDecimalFormatSymbols
public OraDecimalFormatSymbols(OraLocaleInfo localeInfo)
Constructs anOraDecimalFormatSymbols
object for the givenOraLocaleInfo
object.- Parameters:
localeInfo
- the givenOraLocaleInfo
object
-
-
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 theclone
method.
-
equals
public boolean equals(Object object)
Overrides theequals
method.
-
-