public interface WarArchive extends JarArchive
Modifier and Type | Method and Description |
---|---|
WebXml |
getWebXml()
Returns the deployment descriptor of the web application.
|
void |
store(File warFile)
Stores the war archive to file.
|
containsClass, expandToPath, findResource, getResource, getResources
WebXml getWebXml() throws IOException, SAXException, ParserConfigurationException
IOException
- If there was a problem reading the deployment descriptor in the WARSAXException
- If the deployment descriptor of the WAR could not be parsedParserConfigurationException
- If there is an XML parser configuration problemvoid store(File warFile) throws IOException, SAXException, ParserConfigurationException
warFile
- file to store the war in.IOException
- If there was a problem reading the deployment descriptor in the WARSAXException
- If the deployment descriptor of the WAR could not be parsedParserConfigurationException
- If there is an XML parser configuration problemCopyright © 2004-2013 Codehaus. All Rights Reserved.