title: Java Reading in Info from .dat Files
body: <p>Its been a few years since I've input <code>.dat</code> files into a <code>Java</code> program, and now I need to for this project. I remember back then I used the <code>Scanner</code> class, but looking through the internet for solutions, it seems like there's a lot of options; things like <code>BufferedReader</code> and <code>FileStream</code> classes that I've never used before, or at least don't remember using.. Anyway, my question is:</p>
  
  <p>If I'm reading in .dat files of the format:</p>
  
  <pre><code>998763264      EGCDGHIJJ
  
  697724736      GDHECHHJG
  etc.
  </code></pre>
  
  <p>What <code>class(es)</code> would you recommend I implement to handle this input? / Can you give me an example of said class being used to read in a file?</p>
  
  <p>Thanks a lot for the help.</p>