Class ZipArchiveInputStream.CurrentEntry
- java.lang.Object
-
- org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.CurrentEntry
-
- Enclosing class:
- ZipArchiveInputStream
private static final class ZipArchiveInputStream.CurrentEntry extends java.lang.Object
Structure collecting information for the entry that is currently being read.
-
-
Field Summary
Fields Modifier and Type Field Description private long
bytesRead
Number of bytes of entry content read by the client if the entry is STORED.private long
bytesReadFromStream
Number of bytes of entry content read from the stream.private java.util.zip.CRC32
crc
The checksum calculated as the current entry is read.private ZipArchiveEntry
entry
Current ZIP entry.private boolean
hasDataDescriptor
Does the entry use a data descriptor?private java.io.InputStream
in
The input stream decompressing the data for shrunk and imploded entries.private boolean
usesZip64
Does the entry have a ZIP64 extended information extra field.
-
Constructor Summary
Constructors Modifier Constructor Description private
CurrentEntry()
-
-
-
Field Detail
-
entry
private final ZipArchiveEntry entry
Current ZIP entry.
-
hasDataDescriptor
private boolean hasDataDescriptor
Does the entry use a data descriptor?
-
usesZip64
private boolean usesZip64
Does the entry have a ZIP64 extended information extra field.
-
bytesRead
private long bytesRead
Number of bytes of entry content read by the client if the entry is STORED.
-
bytesReadFromStream
private long bytesReadFromStream
Number 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
private final java.util.zip.CRC32 crc
The checksum calculated as the current entry is read.
-
in
private java.io.InputStream in
The input stream decompressing the data for shrunk and imploded entries.
-
-