public class test {
public static void main(String[] args) throws IOException {
MessageFormat form = new MessageFormat("The disk \"{1}\" contains {0}---------{2}");
int fileCount = 1200;
String diskName = "MyDisk";
Object[] testArgs = {new Long(fileCount), diskName,"1111111"};
System.out.println(form.format(testArgs));}
}
public static void main(String[] args) throws IOException {
MessageFormat form = new MessageFormat("The disk \"{1}\" contains {0}---------{2}");
int fileCount = 1200;
String diskName = "MyDisk";
Object[] testArgs = {new Long(fileCount), diskName,"1111111"};
System.out.println(form.format(testArgs));}
}