| Constructor and Description |
|---|
Unzipper(ZipFile zipFile,
File toDir)
Instantiates a new unzipper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
extractZipEntry(ZipFile zipFile,
ZipEntry target,
File toDirectory)
Extract zip entry.
|
void |
unzip()
Unzip.
|
void |
unzip(File zipFile,
File toDir,
String password)
Deprecated.
use instead
Zip4jExtensions#extract(net.lingala.zip4j.core.ZipFile, java.io.File, String).
Note: will be removed in the next minor version. |
void |
unzip(File zipFile,
File toDir,
String password,
Charset charsetName)
Deprecated.
use instead
Zip4jExtensions#extract(net.lingala.zip4j.core.ZipFile, java.io.File, String).
Note: will be removed in the next minor version. |
void |
unzip(ZipFile zipFile,
File toDir)
Unzip.
|
public void extractZipEntry(ZipFile zipFile, ZipEntry target, File toDirectory) throws IOException
zipFile - the zip filetarget - the targettoDirectory - the to directoryIOException - Signals that an I/O exception has occurred.public void unzip()
throws IOException
IOException - Signals that an I/O exception has occurred.public void unzip(File zipFile, File toDir, String password) throws IOException
Zip4jExtensions#extract(net.lingala.zip4j.core.ZipFile, java.io.File, String).
zipFile - the zip filetoDir - the to dirpassword - the passwordIOException - Signals that an I/O exception has occurred.@Deprecated public void unzip(File zipFile, File toDir, String password, Charset charsetName) throws IOException
Zip4jExtensions#extract(net.lingala.zip4j.core.ZipFile, java.io.File, String).
zipFile - the zip filetoDir - the to dirpassword - the passwordcharsetName - the charset nameIOException - Signals that an I/O exception has occurred.public void unzip(ZipFile zipFile, File toDir) throws IOException
zipFile - the zip filetoDir - the to dirIOException - Signals that an I/O exception has occurred.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.