code: public URL getResource(String name) {
          // we need to search the components of the path to see if
          // we can find the class we want.
          URL url = null;
          if (isParentFirst(name)) {
              url = parent == null ? super.getResource(name) : parent.getResource(name);
          }
          if (url != null) {
              log("Resource " + name + " loaded from parent loader", Project.MSG_DEBUG);
          } else {
              // try and load from this loader if the parent either didn't find
              // it or wasn't consulted.
              Enumeration e = pathComponents.elements();
              while (e.hasMoreElements() && url == null) {
                  File pathComponent = (File) e.nextElement();
                  url = getResourceURL(pathComponent, name);
                  if (url != null) {
                      log("Resource " + name + " loaded from ant loader", Project.MSG_DEBUG);
                  }
              }
          }
          if (url == null && !isParentFirst(name)) {
              // this loader was first but it didn't find it - try the parent
              if (ignoreBase) {
                  url = getRootLoader() == null ? null : getRootLoader().getResource(name);
              } else {
                  url = parent == null ? super.getResource(name) : parent.getResource(name);
              }
              if (url != null) {
                  log("Resource " + name + " loaded from parent loader", Project.MSG_DEBUG);
              }
          }
          if (url == null) {
              log("Couldn't load Resource " + name, Project.MSG_DEBUG);
          }
          return url;
      }
docs: Finds the resource with the given name. A resource is
  some data (images, audio, text, etc) that can be accessed by class
  code in a way that is independent of the location of the code.
  
  @param name The name of the resource for which a stream is required.
  Must not be <code>null</code>.
  
  @return a URL for reading the resource, or <code>null</code> if the
  resource could not be found or the caller doesn't have
  adequate privileges to get the resource.