I just have one more question.
i have also created another class in a diffent file and package, the package name is log and the class is called LogWriter, within the class i have a method called write that has void as a return type and takes a
String as a paramenter.
My question is from the previous file that contained key=value pairs, lines and words procedeeded by # symbols after i send that info to my Logwriter.write() method how do i get it to print to a file in a form sort of like this:
Monday 6-24-2002 14:39:03 blank line
Monday 6-24-2002 14:39:04 port=80
Monday 6-24-2002 14:39:06 blank line
Monday 6-24-2002 14:39:08 domain=www.calstatela.edu
Monday 6-24-2002 14:39:10 blank line
Monday 6-24-2002 14:39:12 ERROR: this is an invalid line
Monday 6-24-2002 14:39:13 blank line
Monday 6-24-2002 14:39:15 index=index.html
Monday 6-24-2002 14:39:17 blank line
*************************************************
havent tried the date format yet but when i try to write to the file i think one writes over the other and dosent skip a line like its supposed to.
any help would be appreciated.