code: public ArrayList<PathImpl> getResources(String pathName)
    {
      ArrayList<PathImpl> list = new ArrayList<PathImpl>();
  
      String pathname = _pathname;
      // XXX: why was this here?
      if (pathname.startsWith("/"))
        pathname = "." + pathname;
  
      ArrayList<PathImpl> pathList = ((MergePath) _root)._pathList;
      for (int i = 0; i < pathList.size(); i++) {
        PathImpl path = pathList.get(i);
  
        path = path.lookup(pathname);
  
        ArrayList<PathImpl> subResources = path.getResources(pathName);
        for (int j = 0; j < subResources.size(); j++) {
          PathImpl newPath = subResources.get(j);
  
          if (! list.contains(newPath))
            list.add(newPath);
        }
      }
  
      return list;
    }
docs: Returns all the resources matching the path.