code: public InputStream getResourceAsStream(String name) {
          InputStream resourceStream = null;
          if (isParentFirst(name)) {
              resourceStream = loadBaseResource(name);
          }
          if (resourceStream != null) {
              log("ResourceStream for " + name
                  + " loaded from parent loader", Project.MSG_DEBUG);
          } else {
              resourceStream = loadResource(name);
              if (resourceStream != null) {
                  log("ResourceStream for " + name
                      + " loaded from ant loader", Project.MSG_DEBUG);
              }
          }
          if (resourceStream == null && !isParentFirst(name)) {
              if (ignoreBase) {
                  resourceStream = getRootLoader() == null ? null : getRootLoader().getResourceAsStream(name);
              } else {
                  resourceStream = loadBaseResource(name);
              }
              if (resourceStream != null) {
                  log("ResourceStream for " + name + " loaded from parent loader",
                      Project.MSG_DEBUG);
              }
          }
          if (resourceStream == null) {
              log("Couldn't load ResourceStream for " + name, Project.MSG_DEBUG);
          }
          return resourceStream;
      }
docs: Returns a stream to read the requested resource name.
  
  @param name The name of the resource for which a stream is required.
  Must not be <code>null</code>.
  
  @return a stream to the required resource or <code>null</code> if the
  resource cannot be found on the loader's classpath.