Class StreamUnzipper
java.lang.Object
com.atlassian.confluence.util.zip.AbstractUnzipper
com.atlassian.confluence.util.zip.StreamUnzipper
- All Implemented Interfaces:
Unzipper
Stream based ZIP extractor
-
Field Summary
Fields inherited from class com.atlassian.confluence.util.zip.AbstractUnzipper
destDir
-
Constructor Summary
ConstructorsConstructorDescriptionStreamUnzipper
(InputStream zipStream, File destDir) Construct a stream unzipper -
Method Summary
Methods inherited from class com.atlassian.confluence.util.zip.AbstractUnzipper
entries, saveEntry
-
Constructor Details
-
StreamUnzipper
Construct a stream unzipper- Parameters:
zipStream
- Inputstream to use for ZIP archive readingdestDir
- Directory to unpack stream contents
-
-
Method Details
-
unzip
- Throws:
IOException
-
unzipFileInArchive
- Throws:
IOException
-
entries
- Throws:
IOException
-