|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jaulp.file.zip.Unzipper
public class Unzipper
The Class Unzipper.
| Constructor Summary | |
|---|---|
Unzipper()
Instantiates a new unzipper. |
|
Unzipper(java.util.zip.ZipFile zipFile,
java.io.File toDir)
Instantiates a new unzipper. |
|
| Method Summary | |
|---|---|
void |
extractZipEntry(java.util.zip.ZipFile zipFile,
java.util.zip.ZipEntry target,
java.io.File toDirectory)
Extract zip entry. |
java.io.File |
getToDir()
Returns the field toDir. |
java.util.zip.ZipFile |
getZipFile()
Returns the field zipFile. |
void |
setToDir(java.io.File toDir)
Sets the field toDir. |
void |
setZipFile(java.util.zip.ZipFile zipFile)
Sets the field zipFile. |
void |
unzip()
Unzip. |
void |
unzip(java.util.zip.ZipFile zipFile,
java.io.File toDir)
Unzip. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Unzipper()
public Unzipper(java.util.zip.ZipFile zipFile,
java.io.File toDir)
zipFile - the zip filetoDir - the to dir| Method Detail |
|---|
public void extractZipEntry(java.util.zip.ZipFile zipFile,
java.util.zip.ZipEntry target,
java.io.File toDirectory)
throws java.io.IOException
zipFile - the zip filetarget - the targettoDirectory - the to directory
java.io.IOException - Signals that an I/O exception has occurred.public java.io.File getToDir()
toDir.
toDir.public java.util.zip.ZipFile getZipFile()
zipFile.
zipFile.public void setToDir(java.io.File toDir)
toDir.
toDir - The toDir to setpublic void setZipFile(java.util.zip.ZipFile zipFile)
zipFile.
zipFile - The zipFile to set
public void unzip()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.
public void unzip(java.util.zip.ZipFile zipFile,
java.io.File toDir)
throws java.io.IOException
zipFile - the zip filetoDir - the to dir
java.io.IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||