title: How to use ClassLoader.getResources() correctly?
body: <p>How can I use <code>ClassLoader.getResources()</code> to find recursivly resources from my classpath?</p>
  
  <p>E.g. </p>
  
  <ul>
  <li><p>finding all resources in the <code>META-INF</code> "directory":
  Imagine something like </p>
  
  <p><code>getClass().getClassLoader().getResources("META-INF")</code></p>
  
  <p>Unfortunately, this does only retrieve an <code>URL</code> to exactly this "directory".</p></li>
  <li><p>all resources named <code>bla.xml</code> (recursivly)</p>
  
  <p><code>getClass().getClassLoader().getResources("bla.xml")</code></p>
  
  <p>But this returns an empty <code>Enumeration</code>.</p></li>
  </ul>
  
  <p>And as a bonus question: How does <code>ClassLoader.getResources()</code> differ from <code>ClassLoader.getResource()</code>?</p>