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 |
COMPACT |
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 |
MEASURE_UNIT |
static NumberFormat.Field |
PERCENT |
static NumberFormat.Field |
PERMILLE |
static NumberFormat.Field |
SIGN |
INPUT_METHOD_SEGMENT, LANGUAGE, READING| Modifier | Constructor and Description |
|---|---|
protected |
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, toStringpublic 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
public static final NumberFormat.Field MEASURE_UNIT
public static final NumberFormat.Field COMPACT
protected Field(String fieldName)
protected Object readResolve() throws InvalidObjectException
readResolve in class AttributedCharacterIterator.AttributeInvalidObjectExceptionCopyright © 2016 Unicode, Inc. and others.