Class ScatterZipOutputStream.ZipEntryWriter
java.lang.Object
org.apache.commons.compress.archivers.zip.ScatterZipOutputStream.ZipEntryWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
ScatterZipOutputStream
Writes ZIP entries to a ZIP archive.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidWrites the next ZIP entry to the given target.
-
Constructor Details
-
ZipEntryWriter
Constructs a new instance.- Parameters:
out- a ScatterZipOutputStream.- Throws:
IOException- if an I/O error occurs.
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
writeNextZipEntry
Writes the next ZIP entry to the given target.- Parameters:
target- Where to write.- Throws:
IOException- if an I/O error occurs.
-