Class ScatterZipOutputStream.CompressedEntry

  • Enclosing class:
    ScatterZipOutputStream

    private static final class ScatterZipOutputStream.CompressedEntry
    extends java.lang.Object
    • Field Detail

      • crc

        final long crc
      • compressedSize

        final long compressedSize
      • size

        final long size
    • Constructor Detail

      • CompressedEntry

        public CompressedEntry​(ZipArchiveEntryRequest zipArchiveEntryRequest,
                               long crc,
                               long compressedSize,
                               long size)
    • Method Detail

      • transferToArchiveEntry

        public ZipArchiveEntry transferToArchiveEntry()
        Updates the original ZipArchiveEntry with sizes/crc. Do not use this method from threads that did not create the instance itself!
        Returns:
        the zipArchiveEntry that is the basis for this request.