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

      • archiverVersion

        public String archiverVersion()
      • buildJdk

        public String buildJdk()
      • builtBy

        public String builtBy()
      • createdBy

        public String createdBy()
      • implementationBuild

        public String implementationBuild()
      • implementationDate

        public String implementationDate()
      • implementationTitle

        public String implementationTitle()
      • implementationVendor

        public String implementationVendor()
      • implementationVendorId

        public String implementationVendorId()
      • implementationVersion

        public String implementationVersion()
      • manifestVersion

        public String manifestVersion()
      • package_

        public String package_()
      • specificationTitle

        public String specificationTitle()
      • specificationVendor

        public String specificationVendor()
      • specificationVersion

        public String specificationVersion()
      • manifest

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

        public static Manifest manifest​(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