- object
- the object to format, must be an array of Object.
- buffer
- the target string buffer to append the formatted message to.
- field
- on input: an optional alignment field; on output: the offsets of the alignment field in the formatted text.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ClassCastException if object is not an array of Object.
Converts the specified objects into a string which it appends to the specified string buffer using the pattern of this message format.
If the field member of the specified FieldPosition is MessageFormat.Field.ARGUMENT, then the begin and end index of this field position is set to the location of the first occurrence of a message format argument. Otherwise, the FieldPosition is ignored.
Calling this method is equivalent to calling
java Example
format((Object[])object, buffer, field)