Format.Field

  • Format.Field defines constants used as attribute keys in AttributedCharacterIterator and field identifiers in FieldPosition.

  • It's a subclass of AttributedCharacterIterator.Attribute and is used by DateFormat, MessageFormat, and NumberFormat.

  • The class includes a protected constructor to create a Field with a specified name.

  • Inherited methods provide functionality for object comparison, attribute name retrieval, hash code generation, and more.

public static class Format.Field extends AttributedCharacterIterator.Attribute
Known Direct Subclasses

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from Format.formatToCharacterIterator and as field identifiers in FieldPosition.

Inherited Field Summary

Protected Constructor Summary

Field(String name)
Creates a Field with the specified name.

Inherited Method Summary

Protected Constructors

protected Field (String name)

Creates a Field with the specified name.

Parameters
name Name of the attribute