title: Gather column names from an Excel spreadsheet in Java
body: <p>I've got a spreadsheet that I'm loading into a Java program using <code>org.apache.poi</code>. Loading the data is fine, but i'm concerned the columns may be re-arranged at times, which would cause issues with my code. The program expects data to be in a specific column order.</p>
  
  <p>There is a row that contains the column names that I have been tossing away. Is there a way to tell the <code>SpreadSheet</code> object that I do have a named set of columns that I can index against?</p>
  
  <p>For example, I'd like to load object data like so(psuedo code):</p>
  
  <pre><code>myObject.setName(row.getCell('columnName'));
  </code></pre>