Name

MessageFormat.Field

Synopsis

This class defines an ARGUMENT AttributedCharacterIterator.Attribute constant that is be used by the AttributedCharacterIterator returned by MessageFormat.formatToCharacterIterator( ) to identify portions of the formatted message that are derived from the arguments passed to formatToCharacterIterator( ). The value associated with this ARGUMENT attribute will be an Integer specifying the argument number.

public static class MessageFormat.Field extends Format.Field {
// Protected Constructors
     protected Field(String name);  
// Public Constants
     public static final MessageFormat.Field ARGUMENT;  
// Protected Methods Overriding AttributedCharacterIterator.Attribute
     protected Object readResolve( ) throws java.io.InvalidObjectException;  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.