Class ScatterZipOutputStream.ZipEntryWriter

    • Constructor Detail

      • ZipEntryWriter

        public ZipEntryWriter​(ScatterZipOutputStream out)
                       throws java.io.IOException
        Constructs a new instance.
        Parameters:
        out - a ScatterZipOutputStream.
        Throws:
        java.io.IOException - if an I/O error occurs.
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • writeNextZipEntry

        public void writeNextZipEntry​(ZipArchiveOutputStream target)
                               throws java.io.IOException
        Writes the next ZIP entry to the given target.
        Parameters:
        target - Where to write.
        Throws:
        java.io.IOException - if an I/O error occurs.