From: SourceForge.net <no...@so...> - 2010-04-03 18:24:11
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3658377: The code looks ok, and also it doesn\'t have to be so complicated. If you have the html in a string, you can do: tidy.parse(new StringReader(s), System.out); If you have it in a file, you can do: tidy.parse(new FileInputStream(f), System.out); |