|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.Expand
public class Expand
Unzip a file.
Constructor Summary | |
---|---|
Expand()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Expand()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |