com.atlassian.plugin.util.zip
Class FileUnzipper
java.lang.Object
com.atlassian.plugin.util.zip.AbstractUnzipper
com.atlassian.plugin.util.zip.FileUnzipper
- All Implemented Interfaces:
- Unzipper
public class FileUnzipper
- extends AbstractUnzipper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUnzipper
public FileUnzipper(File zipFile,
File destDir)
unzip
public void unzip()
throws IOException
- Unzips all files in the archive
- Throws:
Exception
IOException
entries
public ZipEntry[] entries()
throws IOException
- Throws:
IOException
unzipFileInArchive
public File unzipFileInArchive(String fileName)
throws IOException
- Specify a specific file inside the archive to extract
- Parameters:
fileName -
- Throws:
IOException
Copyright © 2011 Atlassian. All Rights Reserved.