title: Java Parsing Framework for complex CSV files
body: <p>I need to parse complex (non fixed length) csv files to Java objects in order to compare its values.
  I first tried the Flatform Parsing Framework, i liked the approach of describing the values in an extra (xml) document. Maybe it's the right tool for simple csv (and also flat) files. Nevertheless my csv files contains lines that vary in quantity of fields - sometimes they span across multiple lines. There are also dependencies among those fields. </p>
  
  <p>Here's a little sample: (each type has a certain amount of extra parameters)</p>
  
  <pre><code>    ; &lt;COMMENTS (to be ignored)&gt;
      &lt;NAME&gt;,&lt;TYPE_A&gt;,&lt;DESCRIPTION&gt;,&lt;PARAMETER&gt;
      &lt;NAME&gt;,&lt;TYPE_B&gt;,&lt;DESCRIPTION&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;
      &lt;NAME&gt;,&lt;TYPE_C&gt;,&lt;DESCRIPTION&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;
      &lt;NAME&gt;,&lt;TYPE_D&gt;,&lt;DESCRIPTION&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;, -
                                &lt;PARAMETER&gt;,&lt;PARAMETER&gt;, -
                                &lt;PARAMETER&gt;,&lt;PARAMETER&gt;
      &lt;NAME&gt;,&lt;TYPE_B&gt;,&lt;DESCRIPTION&gt;,&lt;PARAMETER&gt;,&lt;PARAMETER&gt;
      &lt;NAME&gt;,&lt;TYPE_A&gt;,&lt;DESCRIPTION&gt;,&lt;PARAMETER&gt;
  </code></pre>
  
  <p>So i need something to describe and parse the csv file in a more complex manner. I'm new to this, I've heard about parser generator - is that what I need?</p>