org.codehaus.plexus.util
public class Expand extends Object
Since: Ant 1.1 @ant.task category="packaging" name="unzip" name="unjar" name="unwar"
Version: $Id: Expand.java 6695 2007-07-28 12:03:30Z hboutemy $
Field Summary | |
---|---|
File | dest |
boolean | overwrite |
File | source |
Method Summary | |
---|---|
void | execute()
Do the work.
|
protected void | expandFile(File srcF, File dir)
Description of the Method |
protected void | extractFile(File srcF, File dir, InputStream compressedInputStream, String entryName, Date entryDate, boolean isDirectory)
Description of the Method |
void | setDest(File d)
Set the destination directory. |
void | setOverwrite(boolean b)
Should we overwrite files in dest, even if they are newer than the
corresponding entries in the archive? |
void | setSrc(File s)
Set the path to zip-file.
|
Throws: Exception Thrown in unrecoverable error.
Parameters: d Path to the directory.
Parameters: s Path to zip-file.