Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » startup » [javadoc | source]
org.apache.catalina.startup
public class: ExpandWar [javadoc | source]
java.lang.Object
   org.apache.catalina.startup.ExpandWar
Expand out a WAR in a Host's appBase.
Field Summary
protected static final  StringManager sm    The string resources for this package. 
Method from org.apache.catalina.startup.ExpandWar Summary:
copy,   delete,   deleteDir,   expand,   expand,   expand
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.startup.ExpandWar Detail:
 public static boolean copy(File src,
    File dest) 
    Copy the specified file or directory to the destination.
 public static boolean delete(File dir) 
    Delete the specified directory, including all of its contents and subdirectories recursively.
 public static boolean deleteDir(File dir) 
    Delete the specified directory, including all of its contents and subdirectories recursively.
 public static String expand(Host host,
    URL war) throws IOException 
    Expand the WAR file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory.
 public static String expand(Host host,
    URL war,
    String pathname) throws IOException 
    Expand the WAR file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory.
 protected static File expand(InputStream input,
    File docBase,
    String name) throws IOException 
    Expand the specified input stream into the specified directory, creating a file named from the specified relative path.