code: private void readPackageListFromURL(String urlpath, URL pkglisturlpath) throws Fault {
          try {
              URL link = pkglisturlpath.toURI().resolve(DocPaths.PACKAGE_LIST.getPath()).toURL();
              readPackageList(link.openStream(), urlpath, false);
          } catch (URISyntaxException | MalformedURLException exc) {
              throw new Fault(configuration.getText("doclet.MalformedURL", pkglisturlpath.toString()), exc);
          }
          catch (IOException exc) {
              throw new Fault(configuration.getText("doclet.URL_error", pkglisturlpath.toString()), exc);
          }
      }
docs: Fetch the URL and read the "package-list" file.
  
  @param urlpath        Path to the packages.
  @param pkglisturlpath URL or the path to the "package-list" file.