title: CSV parsing in Java - working example..?
body: <p>I want to write a program for a school java project to parse some CSV I do not know. I do know the datatype of each column - although I do not know the delimiter.</p>
  
  <p>The problem I do not even marginally know how to fix is to parse Date or even DateTime Columns. They can be in one of many formats.</p>
  
  <p>I found many libraries but have no clue which is the best for my needs:
  <a href="http://opencsv.sourceforge.net/" rel="noreferrer">http://opencsv.sourceforge.net/</a>
  <a href="http://www.csvreader.com/java_csv.php" rel="noreferrer">http://www.csvreader.com/java_csv.php</a>
  <a href="http://supercsv.sourceforge.net/" rel="noreferrer">http://supercsv.sourceforge.net/</a>
  <a href="http://flatpack.sourceforge.net/" rel="noreferrer">http://flatpack.sourceforge.net/</a></p>
  
  <p>The problem is I am a total java beginner. I am afraid non of those libraries can do what I need or I can't convince them to do it.</p>
  
  <p>I bet there are a lot of people here who have code sample that could get me started in no time for what I need:</p>
  
  <ul>
  <li>automatically split in Columns (delimiter unknown, Columntypes are known)</li>
  <li>cast to Columntype (should cope with $, %, etc.)</li>
  <li>convert dates to Java Date or Calendar Objects</li>
  </ul>
  
  <p>It would be nice to get as many code samples as possible by email.</p>
  
  <p>Thanks a lot!
  AS</p>