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, org.jdom.JDOMException
warFile
- The web application archiveIOException
- If there was a problem reading the deployment
descriptor in the WARorg.jdom.JDOMException
- If the deployment descriptor of the WAR could not
be parsedpublic 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.