|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.deployment.JarArchive
org.apache.cactus.integration.ant.deployment.WarArchive
Class that encapsulates access to a web application archive (WAR).
Constructor Summary | |
WarArchive(java.io.File theFile)
Constructor. |
|
WarArchive(java.io.InputStream theInputStream)
Constructor. |
Method Summary | |
boolean |
containsClass(java.lang.String theClassName)
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. |
WebXml |
getWebXml()
Returns the deployment descriptor of the web application. |
Methods inherited from class org.apache.cactus.integration.ant.deployment.JarArchive |
findResource, getResource, getResources |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WarArchive(java.io.File theFile) throws java.io.IOException
theFile
- The web application archive
java.io.IOException
- If there was a problem reading the WARpublic WarArchive(java.io.InputStream theInputStream) throws java.io.IOException
theInputStream
- The input stream for the web application archive
java.io.IOException
- If there was a problem reading the WARMethod Detail |
public final WebXml getWebXml() throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
java.io.IOException
- If there was a problem reading the deployment
descriptor in the WAR
org.xml.sax.SAXException
- If the deployment descriptor of the WAR could not
be parsed
javax.xml.parsers.ParserConfigurationException
- If there is an XML parser
configration problempublic final boolean containsClass(java.lang.String theClassName) throws java.io.IOException
containsClass
in class JarArchive
theClassName
- The name of the class to search for
java.io.IOException
- If an I/O error occurred reading the archive
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |