How do I convert a document made in Jsoup (the Java html parser) into a string

Viewed 28753

I have a document that was made in jsoup that looks like this

Document doc = Jsoup.connect("http://en.wikipedia.org/").get();

How do i convert that doc into a string.

3 Answers
Related