org.apache.cactus.integration.api.deployable
Class WarParser

java.lang.Object
  extended by org.apache.cactus.integration.api.deployable.WarParser

public class WarParser
extends java.lang.Object

Parse an WAR descriptor to extract meaninful information for Cactus, the results being stored in a WarDeployableFile object.

Since:
Cactus 1.5
Version:
$Id: WarParser.java 239003 2004-05-31 20:05:27Z vmassol $

Constructor Summary
WarParser()
           
 
Method Summary
static WarDeployableFile parse(java.io.File theDeployableFile)
          Parse an WAR descriptor to extract meaninful information for Cactus.
protected static java.lang.String parseWebContext(java.io.File theDeployableFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarParser

public WarParser()
Method Detail

parse

public static final WarDeployableFile parse(java.io.File theDeployableFile)
Parse an WAR descriptor to extract meaninful information for Cactus.

Parameters:
theDeployableFile - the file to parse and deploy
Returns:
the parse results as a WarDeployableFile object

parseWebContext

protected static java.lang.String parseWebContext(java.io.File theDeployableFile)
Parameters:
theDeployableFile - the file to parse and deploy
Returns:
the test context that will be used to verify if the container is started or not


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.