code: public static URL[] findResourceBases(String baseResource, ClassLoader loader)
     {
        ArrayList<URL> list = new ArrayList<URL>();
        try
        {
           Enumeration<URL> urls = loader.getResources(baseResource);
           while (urls.hasMoreElements())
           {
              URL url = urls.nextElement();
              list.add(findResourceBase(url, baseResource));
           }
        }
        catch (IOException e)
        {
           throw new RuntimeException(e);
        }
        return list.toArray(new URL[list.size()]);
     }
docs: Find the classpath URLs for a specific classpath resource.  The classpath URL is extracted
  from loader.getResources() using the baseResource.
  
  @param baseResource
  @return