docs: private InputStream loadResource(String name) {
          // we need to search the components of the path to see if we can
          // find the class we want.
          InputStream stream = null;
  
          Enumeration e = pathComponents.elements();
          while (e.hasMoreElements() && stream == null) {
              File pathComponent = (File) e.nextElement();
              stream = getResourceStream(pathComponent, name);
          }
          return stream;
      }