Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment.webapp » [javadoc | source]
org.apache.cactus.integration.ant.deployment.webapp
public class: DefaultWarArchive [javadoc | source]
java.lang.Object
   org.apache.cactus.integration.ant.deployment.DefaultJarArchive
      org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive

All Implemented Interfaces:
    WarArchive, JarArchive

Class that encapsulates access to a WAR.
Constructor:
 public DefaultWarArchive(File theFile) throws IOException 
    Constructor.
    Parameters:
    theFile - The web application archive
    Throws:
    IOException - If there was a problem reading the WAR
 public DefaultWarArchive(InputStream theInputStream) throws IOException 
    Constructor.
    Parameters:
    theInputStream - The input stream for the web application archive
    Throws:
    IOException - If there was a problem reading the WAR
Method from org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive Summary:
containsClass,   getWebXml
Methods from org.apache.cactus.integration.ant.deployment.DefaultJarArchive:
containsClass,   findResource,   getContentAsStream,   getResource,   getResources
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive Detail:
 public final boolean containsClass(String theClassName) throws IOException 
    Returns whether a class of the specified name is contained in the web-app archive, either directly in WEB-INF/classes, or in one of the JARs in WEB-INF/lib.
 public final WebXml getWebXml() throws IOException, SAXException, ParserConfigurationException