Class ScatterZipOutputStream.CompressedEntry
- java.lang.Object
-
- org.apache.commons.compress.archivers.zip.ScatterZipOutputStream.CompressedEntry
-
- Enclosing class:
- ScatterZipOutputStream
private static class ScatterZipOutputStream.CompressedEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
compressedSize
(package private) long
crc
(package private) long
size
(package private) ZipArchiveEntryRequest
zipArchiveEntryRequest
-
Constructor Summary
Constructors Constructor Description CompressedEntry(ZipArchiveEntryRequest zipArchiveEntryRequest, long crc, long compressedSize, long size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZipArchiveEntry
transferToArchiveEntry()
Update the originalZipArchiveEntry
with sizes/crc Do not use this methods from threads that did not create the instance itself !
-
-
-
Field Detail
-
zipArchiveEntryRequest
final ZipArchiveEntryRequest zipArchiveEntryRequest
-
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 originalZipArchiveEntry
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
-
-