FileDocCategorySizeDatePackage
MessageFormatDemo.javaAPI DocExample317Mon Jul 03 20:15:44 BST 2000None

MessageFormatDemo

public class MessageFormatDemo extends Object

Fields Summary
static Object[]
data
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


	     
		String result = MessageFormat.format(
			"At {0,time} on {0,date}, {1} {2}.", data);
		System.out.println(result);