title: Open source java library for HTML to text conversion
body: <p>Can you recommend an open source Java library (preferably ASL/BSD/LGPL license) that converts HTML to <em>plain</em> text - cleans all the tags, converts entities (&amp;, &nbsp;, etc.) and handles &lt;br&gt; and tables properly.</p>
  
  <p><strong>More Info</strong></p>
  
  <p>I have the HTML as a string, there's no need to fetch it from the web. Also, what I'm looking is for a method like this:</p>
  
  <pre><code>String convertHtmlToPlainText(String html)
  </code></pre>