title: Listing the files in a directory of the current JAR file
body: <p>I am making a game in JAVA where I want to come up with a list of files in a certain directory in my jar so I can make sure to have a list of those classes to be used in the game.</p>
  
  <p>For example say in my jar I have a directory </p>
  
  <pre><code>mtd/entity/creep/
  </code></pre>
  
  <p>I want to get a list of all the .class files in that directory <strong>using java code from another class in the jar</strong>.</p>
  
  <p>What is the best code to do so?</p>