java.text
public
static
class
java.text.NumberFormat.Field
The instances of this inner class are used as attribute keys and values
in AttributedCharacterIterator that
NumberFormat.formatToCharacterIterator() method returns.
There is no public constructor to this class, the only instances are the
constants defined here.
Summary
Constants
Protected Constructors
Protected Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
This constant stands for the currency symbol.
public
static
final
NumberFormat.Field
DECIMAL_SEPARATOR
This constant stands for the decimal separator.
This constant stands for the exponent part of the number.
This constant stands for the exponent sign symbol.
This constant stands for the exponent symbol.
This constant stands for the fraction part of the number.
public
static
final
NumberFormat.Field
GROUPING_SEPARATOR
This constant stands for the grouping separator.
This constant stands for the integer part of the number.
This constant stands for the percent symbol.
This constant stands for the permille symbol.
This constant stands for the number sign.
Protected Constructors
protected
NumberFormat.Field(String fieldName)
Constructs a new instance of NumberFormat.Field with the given field
name.
Parameters
fieldName
| The field name.
|
Protected Methods
protected
Object
readResolve()
serialization method resolve instances to the constant
NumberFormat.Field values