Class ScatterZipOutputStream.CompressedEntry

  • Enclosing class:
    ScatterZipOutputStream

    private static 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()
        Update the original ZipArchiveEntry with sizes/crc Do not use this methods from threads that did not create the instance itself !
        Returns:
        the zipArchiveEntry that is basis for this request