private void newOnCallInstance(String analyst, String date, String timeIn, String timeOut, String problem, String resolutiofaasdfasdflkjsdafjk asdfk;jadshfjkashjkf;d kj;ahsljkdfhdasjk fhjklsdaghlfadg hldashgkl;jafhg;jks dhfjkl;ghasfdjghak; hgj;kadf gh;jkadf ghk;ja hgj;k ajkl;gh;jkgh hja hjkgh;jkhk;h ;jkh j;k hj hgjk;hk;jafsdk;jdfh ;kagn) {
try {
// Create a file output stream without overwrite
FileOutputStream output = new FileOutputStream("data", true);
// Print Stream
PrintStream print = new PrintStream(output);
// build tags
analyst = "ANALYST = "+analyst;
date = "DATE = "+date;
timeIn = "TIME IN = "+timeIn;
timeOut = "TIME OUT = "+timeOut;
problem = "PROBLEM = "+problem;
resolution = "RESOLUTION = "+resolution;
// Print tags
print.println(analyst);
print.println(date);
print.println(timeIn);
print.println(timeOut);
print.println(problem);
print.println(resolution);
}
catch(Exception e) {
System.out.println("FILE CANNOT BE FOUND");
}
}
[Updated on: Fri, 27 May 2005 07:48]
Report message to a moderator