public class Expand extends Object
Constructor and Description |
---|
Expand() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void execute() throws Exception
Exception
- Thrown in unrecoverable error.protected void expandFile(File srcF, File dir) throws Exception
Exception
protected void extractFile(File srcF, File dir, InputStream compressedInputStream, String entryName, Date entryDate, boolean isDirectory) throws Exception
Exception
public void setDest(File d)
d
- Path to the directory.public void setSrc(File s)
s
- Path to zip-file.public void setOverwrite(boolean b)
Copyright © 2001-2013 Codehaus. All Rights Reserved.