title: Accessing column headers of an excel file in Java
body: <p>I want to access data related to headers in my excel file .
  For example, as shown in attached image , 724 is related to ValueSetId and RediffZone is related to ProductName.</p>
  
  <p>I want some operations which will be based on headers, for example , for all the users with sampleName Cat and ValuseSetId 724 ,the valueSetID should be incremented by a random number .</p>
  
  <p>And I have made headers in excel file using insert table menu and setting headers.
  I think that is the only way to specify headers in excel for your columns .</p>
  
  <p>My excel is like this:( i couldn't attach image as I don't have enough point,sorry abt that !!)</p>
  
  <pre><code>ProductName      SampleName      Categoryname         ValueSetID
  ----------------------------------------------------------------------------
  Sherrif  /           She /            Primal  /            256
  ----------------------------------------------------------------------------
  CateZore /           Cat /            Non-Primal /          724
  ------------------------------------------------------------------------------
  RediffZone /          Red /            Primal /             991
  -------------------------------------------------------------------------------
  </code></pre>
  
  <p>And  Header header=sheet.getHeader(); don't give those headers abt which I am talking .</p>