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, saveEntry
public StreamUnzipper(InputStream zipStream, File destDir)
zipStream
- Inputstream to use for ZIP archive readingdestDir
- Directory to unpack stream contentspublic void unzip() throws IOException
IOException
public File unzipFileInArchive(String fileName) throws IOException
IOException
public ZipEntry[] entries() throws IOException
IOException
Copyright © 2003–2020 Atlassian. All rights reserved.