|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.zip.FileUnzipper
public class FileUnzipper
Constructor Summary | |
---|---|
FileUnzipper(java.io.File zipFile,
java.io.File destDir)
|
Method Summary | |
---|---|
java.util.zip.ZipEntry[] |
entries()
|
void |
unzip()
Unzips all files in the archive |
java.io.File |
unzipFileInArchive(java.lang.String fileName)
Specify a specific file inside the archive to extract |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUnzipper(java.io.File zipFile, java.io.File destDir)
Method Detail |
---|
public void unzip() throws java.io.IOException
unzip
in interface Unzipper
java.lang.Exception
java.io.IOException
public java.util.zip.ZipEntry[] entries() throws java.io.IOException
entries
in interface Unzipper
java.io.IOException
public java.io.File unzipFileInArchive(java.lang.String fileName) throws java.io.IOException
unzipFileInArchive
in interface Unzipper
fileName
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |