title: Parse a csv String and map to a java object
body: <p>I am trying to parse a csv string like this</p>
  
  <pre><code>    COL1,COL2,COL3
      1,2,3
      2,4,5
  </code></pre>
  
  <p>and map columns to a java object-</p>
  
  <pre><code>    Class Person{
         COL1,
         COL2,
         COL3;
       }
  </code></pre>
  
  <p>Most of the libraries I found on google are for csv files but I am working with google app engine so can't write or read files. currently I am using split method but problems with this approach is</p>
  
  <ol>
  <li><p>column that I am getting in csv string could vary as</p>
  
  <pre><code>COL1,COL3,COL2
  </code></pre></li>
  <li><p>don't want to use boiler plate code of splitting and getting each column.so what I need is list of column header and read all columns in a collection using header mapper. While iterating, map column value to a java object.</p></li>
  </ol>
  
  <p>There are several question based on similar type of requirement but none of them helped me. 
  If anyone has done this before please could you share the idea? Thanks!</p>