title: Tips for writing a file parser in Java?
body: <p><strong>EDIT: I'm mostly parsing "comma-seperated values", fuzzy brought that term to my attention.</strong></p>
  
  <p>Interpreting the blocks of CSV are the main question here.</p>
  
  <p>I know how to read the file into something like a <code>String[]</code> and some of the basic features of <code>String</code>, but I don't think using methods like <code>contains()</code> and analyzing everything character by character will work.</p>
  
  <p>What are some ways I can do this in a smarter way?</p>
  
  <p>Example of a line:</p>
  
  <p><code>-barfoob: boobs, foob, "foo bar"</code></p>