Interface WarArchive

    • Method Detail

      • getWebXml

        WebXml getWebXml()
                  throws IOException,
                         org.jdom2.JDOMException
        Returns the deployment descriptor of the web application.
        Returns:
        The parsed deployment descriptor
        Throws:
        IOException - If there was a problem reading the deployment descriptor in the WAR
        org.jdom2.JDOMException - If the deployment descriptor of the WAR could not be parsed
      • store

        void store​(File warFile)
            throws IOException,
                   org.jdom2.JDOMException
        Stores the war archive to file. Changes to the descriptors of the war archive will be stored as well.
        Parameters:
        warFile - file to store the war in.
        Throws:
        IOException - If there was a problem reading the deployment descriptor in the WAR
        org.jdom2.JDOMException - If the deployment descriptor of the WAR could not be parsed