Class Manifest

  • All Implemented Interfaces:
    Versioned

    public class Manifest
    extends Object
    implements Versioned
    Helper class for working with JAR manifests.
    Author:
    Curtis Rueden
    • Method Detail

      • getArchiverVersion

        public String getArchiverVersion()
      • getBuildJdk

        public String getBuildJdk()
      • getBuiltBy

        public String getBuiltBy()
      • getCreatedBy

        public String getCreatedBy()
      • getImplementationBuild

        public String getImplementationBuild()
      • getImplementationDate

        public String getImplementationDate()
      • getImplementationTitle

        public String getImplementationTitle()
      • getImplementationVendor

        public String getImplementationVendor()
      • getImplementationVendorId

        public String getImplementationVendorId()
      • getImplementationVersion

        public String getImplementationVersion()
      • getManifestVersion

        public String getManifestVersion()
      • getPackage

        public String getPackage()
      • getSpecificationTitle

        public String getSpecificationTitle()
      • getSpecificationVendor

        public String getSpecificationVendor()
      • getSpecificationVersion

        public String getSpecificationVersion()
      • getManifest

        public static Manifest getManifest​(Class<?> c)
        Gets the JAR manifest associated with the given class.
      • getManifest

        public static Manifest getManifest​(XML xml)
                                    throws IOException
        Gets the JAR manifest associated with the given XML document. Assumes the XML document was loaded as a resource from inside a JAR.
        Throws:
        IOException