Class ScatterZipOutputStream.CompressedEntry

java.lang.Object
org.apache.commons.compress.archivers.zip.ScatterZipOutputStream.CompressedEntry
Enclosing class:
ScatterZipOutputStream

private static final class ScatterZipOutputStream.CompressedEntry extends Object
  • Field Details

    • zipArchiveEntryRequest

      final ZipArchiveEntryRequest zipArchiveEntryRequest
    • crc

      final long crc
    • compressedSize

      final long compressedSize
    • size

      final long size
  • Constructor Details

    • CompressedEntry

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

    • 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.