public class TomcatWarArchive extends Object
| Constructor and Description |
|---|
TomcatWarArchive(String warFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TomcatContextXml |
getTomcatContextXml()
Returns the
META-INF/context.xml deployment descriptor of the web application. |
public TomcatWarArchive(String warFile) throws IOException, SAXException, ParserConfigurationException
warFile - The web application archiveIOException - 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
configration problempublic final TomcatContextXml getTomcatContextXml()
META-INF/context.xml deployment descriptor of the web application.null if no such file exists.Copyright © 2004-2013 Codehaus. All Rights Reserved.