Package Summary  Overview Summary

class:NumberFormat.Field [NONE]

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    NumberFormat

    public static class NumberFormat.Field
    extends Format.Field
    
    Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from NumberFormat.formatToCharacterIterator and as field identifiers in FieldPosition.
    Since:
    1.4
    See Also:
    Serialized Form

field:INTEGER [NONE]

  • INTEGER

    public static final NumberFormat.Field INTEGER
    Constant identifying the integer field.

field:FRACTION [NONE]

  • FRACTION

    public static final NumberFormat.Field FRACTION
    Constant identifying the fraction field.

field:EXPONENT [NONE]

  • EXPONENT

    public static final NumberFormat.Field EXPONENT
    Constant identifying the exponent field.

field:DECIMAL_SEPARATOR [NONE]

  • DECIMAL_SEPARATOR

    public static final NumberFormat.Field DECIMAL_SEPARATOR
    Constant identifying the decimal separator field.

field:SIGN [NONE]

field:GROUPING_SEPARATOR [NONE]

  • GROUPING_SEPARATOR

    public static final NumberFormat.Field GROUPING_SEPARATOR
    Constant identifying the grouping separator field.

field:EXPONENT_SYMBOL [NONE]

  • EXPONENT_SYMBOL

    public static final NumberFormat.Field EXPONENT_SYMBOL
    Constant identifying the exponent symbol field.

field:PERCENT [NONE]

  • PERCENT

    public static final NumberFormat.Field PERCENT
    Constant identifying the percent field.

field:PERMILLE [NONE]

  • PERMILLE

    public static final NumberFormat.Field PERMILLE
    Constant identifying the permille field.

field:CURRENCY [NONE]

  • CURRENCY

    public static final NumberFormat.Field CURRENCY
    Constant identifying the currency field.

field:EXPONENT_SIGN [NONE]

  • EXPONENT_SIGN

    public static final NumberFormat.Field EXPONENT_SIGN
    Constant identifying the exponent sign field.

field:PREFIX [ADDED]

  • PREFIX

    public static final NumberFormat.Field PREFIX
    
    Constant identifying the prefix field.
    Since:
    12

field:SUFFIX [ADDED]

  • SUFFIX

    public static final NumberFormat.Field SUFFIX
    
    Constant identifying the suffix field.
    Since:
    12

constructor:<init>(java.lang.String) [NONE]

  • Field

    protected Field​(String name)
    Creates a Field instance with the specified name.
    Parameters:
    name - Name of the attribute

method:readResolve() [NONE]

© 2019 Oracle Corporation and/or its affiliates