MessageFormat.format

MessageFormat.format

Class Overview | Class Members | This Package | All Packages

Syntax 1
public final StringBuffer format( Object source[], StringBuffer result, FieldPosition ignore )
Parameters
source
an array of objects to be formatted & substituted.
result
where text is appended.
ignore
no useful status is returned.
Description
Returns pattern with formatted objects.



Syntax 2
public static String format( String pattern, Object arguments[] )
Description
Convenience routine. Avoids explicit creation of MessageFormat, but doesn't allow future optimizations.



Syntax 3
public final StringBuffer format( Object source, StringBuffer result, FieldPosition ignore )
Description
Formats an object to produce a string.

Overrides
format in class Format