public class HtmlToPlainText extends Object
Note that this is a fairly simplistic formatter -- for real world use you'll want to embrace and extend.
To invoke from the command line, assuming you've downloaded the jsoup jar to your current directory:
where url is the URL to fetch, and selector is an optional CSS selector.
java -cp jsoup.jar org.jsoup.examples.HtmlToPlainText url [selector]
- Jonathan Hedley, firstname.lastname@example.org
Constructors Constructor Description