Oracle® Globalization Development Kit Java API Reference
10g Release 1(10.1)

B10971-01

oracle.i18n.text
Class OraDecimalFormatSymbols

java.lang.Object
  |
  +--oracle.i18n.text.OraDecimalFormatSymbols
All Implemented Interfaces:
Cloneable, Serializable

public final class OraDecimalFormatSymbols
extends Object
implements Cloneable, Serializable

OraDecimalFormatSymbols is a class to maintain Oracle decimal format symbols such as decimal separator and currency symbols.

See Also:
OraDecimalFormat, Serialized Form

Constructor Summary
OraDecimalFormatSymbols()
          Constructs an OraDecimalFormatSymbols for the default locale.
OraDecimalFormatSymbols(Locale locale)
          Constructs an OraDecimalFormatSymbols for the given locale.
OraDecimalFormatSymbols(oracle.i18n.util.OraLocaleInfo localeInfo)
          Constructs an OraDecimalFormatSymbols for the given OraLocaleInfo.

 

Method Summary
 Object clone()
          Overrides cloneable.
 boolean equals(Object object)
          Overrides equals.
 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 hashCode.
 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.

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

OraDecimalFormatSymbols

public OraDecimalFormatSymbols()
Constructs an OraDecimalFormatSymbols for the default locale.

OraDecimalFormatSymbols

public OraDecimalFormatSymbols(Locale locale)
Constructs an OraDecimalFormatSymbols for the given locale.
Parameters:
locale - the given locale.

OraDecimalFormatSymbols

public OraDecimalFormatSymbols(oracle.i18n.util.OraLocaleInfo localeInfo)
Constructs an OraDecimalFormatSymbols for the given OraLocaleInfo.
Parameters:
localeInfo - the given OraLocaleInfo.
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 cloneable.
Overrides:
clone in class Object

equals

public boolean equals(Object object)
Overrides equals.
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides hashCode.
Overrides:
hashCode in class Object

Oracle® Globalization Development Kit Java API Reference
10g Release 1(10.1)

B10971-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.