title: Reading a text file from a jar
body: <p>I'm having trouble reading a text file from inside a jar. I managed it while it was unzipped but now that I've archived it it won't work.
  The jar has:</p>
  
  <ul>
  <li>BTA.jar
  <ul>
  <li>Splash.class</li>
  <li>*.class</li>
  <li>Splash.txt</li>
  <li>etc..</li>
  </ul></li>
  </ul>
  
  <p>Now, at the moment I'm using a BufferedReader and a FileReader</p>
  
  <pre><code> f = new FileReader("Splash.txt");
   in = new BufferedReader(f);
  </code></pre>
  
  <p>but from googling around I know that that only reads files from outside of the jar.</p>
  
  <p>My question is: How do I read a file from inside the jar?</p>