public class StreamUnzipper extends AbstractUnzipper
destDir| Constructor and Description |
|---|
StreamUnzipper(InputStream zipStream,
File destDir)
Construct a stream unzipper
|
| Modifier and Type | Method and Description |
|---|---|
ZipEntry[] |
entries() |
void |
unzip() |
File |
unzipFileInArchive(String fileName) |
entries, saveEntrypublic StreamUnzipper(InputStream zipStream, File destDir)
zipStream - Inputstream to use for ZIP archive readingdestDir - Directory to unpack stream contentspublic void unzip()
throws IOException
IOExceptionpublic File unzipFileInArchive(String fileName) throws IOException
IOExceptionpublic ZipEntry[] entries() throws IOException
IOExceptionCopyright © 2003–2022 Atlassian. All rights reserved.