private static final class ZipArchiveOutputStream.CurrentEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
bytesRead
Number of bytes read for the current entry (can't rely on
Deflater#getBytesRead) when using DEFLATED.
|
private boolean |
causedUseOfZip64
Whether current entry was the first one using ZIP64 features.
|
private long |
dataStart
Data for local header data
|
private ZipArchiveEntry |
entry
Current ZIP entry.
|
private boolean |
hasWritten
Whether write() has been called at all.
|
private long |
localDataStart
Offset for CRC entry in the local file header data for the
current entry starts here.
|
Modifier | Constructor and Description |
---|---|
private |
CurrentEntry(ZipArchiveEntry entry) |
private final ZipArchiveEntry entry
private long localDataStart
private long dataStart
private long bytesRead
private boolean causedUseOfZip64
private boolean hasWritten
In order to create a valid archive closeArchiveEntry
will write an empty
array to get the CRC right if nothing has been written to
the stream at all.
private CurrentEntry(ZipArchiveEntry entry)