Class ZipArchiveInputStream.CurrentEntry
java.lang.Object
org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.CurrentEntry
- Enclosing class:
- ZipArchiveInputStream
Structure collecting information for the entry that is
currently being read.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
Number of bytes of entry content read by the client if the entry is STORED.private long
Number of bytes of entry content read from the stream.private final CRC32
The checksum calculated as the current entry is read.private final ZipArchiveEntry
Current ZIP entry.private boolean
Does the entry use a data descriptor?private InputStream
The input stream decompressing the data for shrunk and imploded entries.private boolean
Does the entry have a ZIP64 extended information extra field. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
entry
Current ZIP entry. -
hasDataDescriptor
private boolean hasDataDescriptorDoes the entry use a data descriptor? -
usesZip64
private boolean usesZip64Does the entry have a ZIP64 extended information extra field. -
bytesRead
private long bytesReadNumber of bytes of entry content read by the client if the entry is STORED. -
bytesReadFromStream
private long bytesReadFromStreamNumber of bytes of entry content read from the stream.This may be more than the actual entry's length as some stuff gets buffered up and needs to be pushed back when the end of the entry has been reached.
-
crc
The checksum calculated as the current entry is read. -
in
The input stream decompressing the data for shrunk and imploded entries.
-
-
Constructor Details
-
CurrentEntry
private CurrentEntry()
-