code: public Attributes getManifestAttributesFromURL(URL url) throws IOException {
          Manifest manifest = new Manifest(url.openStream());
          return manifest.getMainAttributes();
      }
docs: Retrieves the jar file manifest attributes for a given class path entry
  @param url - the class path entry
  @return the manifest file attributes
  @throws IOException