java.text
public static class NumberFormat.Field extends Format.Field
| Field Summary | |
|---|---|
| static NumberFormat.Field | CURRENCY
Attribute set to all characters containing the currency unit. |
| static NumberFormat.Field | DECIMAL_SEPARATOR
Attribute set to all characters containing a decimal separator. |
| static NumberFormat.Field | EXPONENT
Attribute set to all characters containing digits of the exponential
part. |
| static NumberFormat.Field | EXPONENT_SIGN
Attribute set to all characters containing the exponent sign. |
| static NumberFormat.Field | EXPONENT_SYMBOL
Attribute set to all characters containing an exponential symbol (e.g.
|
| static NumberFormat.Field | FRACTION
Attribute set to all characters containing digits of the fractional
part. |
| static NumberFormat.Field | GROUPING_SEPARATOR
Attribute set to all characters containing a grouping separator (e.g.
a comma, a white space,...). |
| static NumberFormat.Field | INTEGER
Attribute set to all characters containing digits of the integer
part. |
| static NumberFormat.Field | PERCENT
Attribute set to all characters containing a percent symbol (e.g. |
| static NumberFormat.Field | PERMILLE
Attribute set to all characters containing a permille symbol. |
| static NumberFormat.Field | SIGN
Attribute set to all characters containing a sign (plus or minus). |
| Constructor Summary | |
|---|---|
| protected | Field(String field_name)
Create a Field instance with the specified field name.
|
| Method Summary | |
|---|---|
| protected Object | readResolve()
This function is used by the deserializer to know which object
to use when it encounters an encoded NumberFormat.Field in a
serialization stream. |
Parameters: field_name Field name for the new Field instance.
Returns: a valid official NumberFormat.Field instance.
Throws: InvalidObjectException if the field name is invalid.