title: read the contents from html and write in excel sheet in java
body: <p>Please help me to read a html file and write it in an excel file by using java . I have searched the net , I could get only for copying tables , I need the data in it to be read and write in an excel file .</p>
  
  <p>contents in html file   </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;title&gt;**Deprecated Method Found**&lt;/title&gt;
  &lt;h2&gt;**Summary**&lt;/h2&gt;
  Deprecated API is error-prone and is a potential security threat and thus should not be used.   
  &lt;h2&gt;**Description**&lt;/h2&gt;
  Old API is sometimes marked deprecated because its implementation is designed in a way that can be error-prone. Deprecated API should be avoided where possible.
  &lt;h2&gt;**Security Implications**&lt;/h2&gt;
  Blocks of code that use deprecated API are designed in a careless manner and thus are a potential security threat.</code></pre>
  </div>
  </div>
  </p>
  
  <p>I need these separate headings in separate columns and the contents in rows .</p>
  
  <p>Is it possible to parse this html to excel file</p>