Difference between jsoup.text() and jsoup.body().text()
<p>Using Jsoup library, I'm trying to get the content(only text) from an HTML string. There are two methods which can give me the content :</p>

<pre><code>Jsoup.parse(htmlString).body().text()
Jsoup.parse(htmlString).text()
</code></pre>

<p>I know that the first method will return only text of the body. What does the second method return? Which one is better for my usage?</p>

<p><strong>Note</strong> : According to documentation, text method is used to set the text of the body of document</p>