Generated by
JDiff

Class java.text.MessageFormat

Documentation changed from old to new.

Added Constructors
MessageFormat(String, Locale) Constructs a MessageFormat for the specified locale and pattern.
 

Changed Constructors
MessageFormat(String) Documentation changed from old to new.
Constructs a MessageFormat for the default locale and the specified pattern.
 

Added Methods
AttributedCharacterIterator formatToCharacterIterator(Object) Formats an array of objects and inserts them into the MessageFormat's pattern producing an AttributedCharacterIterator.
Format[] getFormatsByArgumentIndex() Gets the formats used for the values passed into format methods or returned from parse methods.
void setFormatByArgumentIndex(int, Format) Sets the format to use for the format elements within the previously set pattern string that use the given argument index.
void setFormatsByArgumentIndex(Format[]) Sets the formats to use for the values passed into format methods or returned from parse methods.
 

Changed Methods
void applyPattern(String) Documentation changed from old to new.
Sets the pattern used by this message format.
Object clone() Documentation changed from old to new.
Creates and returns a copy of this object.
boolean equals(Object) Documentation changed from old to new.
Equality comparison between two message format objects
Format[] getFormats() Documentation changed from old to new.
Gets the formats used for the format elements in the previously set pattern string.
Locale getLocale() Documentation changed from old to new.
Gets the locale that's used when creating or comparing subformats.
void setFormat(int, Format) Documentation changed from old to new.
Sets the format to use for the format element with the given format element index within the previously set pattern string.
void setFormats(Format[]) Documentation changed from old to new.
Sets the formats to use for the format elements in the previously set pattern string.
void setLocale(Locale) Documentation changed from old to new.
Sets the locale to be used when creating or comparing subformats.
String toPattern() Documentation changed from old to new.
Returns a pattern representing the current state of the message format.
String format(String, Object[]) Documentation changed from old to new.
Creates a MessageFormat with the given pattern and uses it to format the given arguments.
StringBuffer format(Object, StringBuffer, FieldPosition) Documentation changed from old to new.
Formats an array of objects and appends the MessageFormat's pattern with format elements replaced by the formatted objects to the provided StringBuffer.
StringBuffer format(Object[], StringBuffer, FieldPosition) Documentation changed from old to new.
Formats an array of objects and appends the MessageFormat's pattern with format elements replaced by the formatted objects to the provided StringBuffer.
Object[] parse(String) Documentation changed from old to new.
Parses text from the beginning of the given string to produce an object array.
Object[] parse(String, ParsePosition) Documentation changed from old to new.
Parses the string.
Object parseObject(String, ParsePosition) Documentation changed from old to new.
Parses text from a string to produce an object array.