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 TypeMethodDescriptionvoid
close()
void
Writes 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:
close
in interfaceAutoCloseable
- Specified by:
close
in 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.
-