From: renu v. <ren...@ya...> - 2005-04-13 11:38:04
|
Hi, I want to output the error list of JTidy validation into an array. I could write it into a text file, then read the text file and put it into an array. But I want to avoid this and want to write the output directly into an array or some other memory object instead of going for a physical storage(text file). I tried this way: StringWriter strBfr = new StringWriter(); tidy.setErrout(new PrintWriter(strBfr); strBfr.getBuffer().toString() which I wanted to add to the array. But the errors are not writing into the stream. Please help. Thanks Renu __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail |