public static class NumberFormat.Field extends Format.Field
There is no public constructor to this class, the only instances are the constants defined here.
Modifier and Type | Field and Description |
---|---|
static NumberFormat.Field |
CURRENCY |
static NumberFormat.Field |
DECIMAL_SEPARATOR |
static NumberFormat.Field |
EXPONENT |
static NumberFormat.Field |
EXPONENT_SIGN |
static NumberFormat.Field |
EXPONENT_SYMBOL |
static NumberFormat.Field |
FRACTION |
static NumberFormat.Field |
GROUPING_SEPARATOR |
static NumberFormat.Field |
INTEGER |
static NumberFormat.Field |
PERCENT |
static NumberFormat.Field |
PERMILLE |
static NumberFormat.Field |
SIGN |
INPUT_METHOD_SEGMENT, LANGUAGE, READING
Modifier | Constructor and Description |
---|---|
protected |
NumberFormat.Field(String fieldName)
Constructs a new instance of NumberFormat.Field with the given field
name.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
readResolve()
serizalization method resolve instances to the constant
NumberFormat.Field values
|
equals, getName, hashCode, toString
public static final NumberFormat.Field SIGN
public static final NumberFormat.Field INTEGER
public static final NumberFormat.Field FRACTION
public static final NumberFormat.Field EXPONENT
public static final NumberFormat.Field EXPONENT_SIGN
public static final NumberFormat.Field EXPONENT_SYMBOL
public static final NumberFormat.Field DECIMAL_SEPARATOR
public static final NumberFormat.Field GROUPING_SEPARATOR
public static final NumberFormat.Field PERCENT
public static final NumberFormat.Field PERMILLE
public static final NumberFormat.Field CURRENCY
protected NumberFormat.Field(String fieldName)
protected Object readResolve() throws InvalidObjectException
readResolve
in class AttributedCharacterIterator.Attribute
InvalidObjectException
Copyright (c) 2016 IBM Corporation and others.