Module kala.compress.archivers.zip
Package kala.compress.archivers.zip
Class ZipArchiveInputStream.CurrentEntry
- java.lang.Object
-
- kala.compress.archivers.zip.ZipArchiveInputStream.CurrentEntry
-
- Enclosing class:
- ZipArchiveInputStream
private static final class ZipArchiveInputStream.CurrentEntry extends java.lang.ObjectStructure collecting information for the entry that is currently being read.
-
-
Field Summary
Fields Modifier and Type Field Description private longbytesReadNumber of bytes of entry content read by the client if the entry is STORED.private longbytesReadFromStreamNumber of bytes of entry content read from the stream.private java.util.zip.CRC32crcThe checksum calculated as the current entry is read.private ZipArchiveEntryentryCurrent ZIP entry.private booleanhasDataDescriptorDoes the entry use a data descriptor?private java.io.InputStreaminputStreamThe input stream decompressing the data for shrunk and imploded entries.private booleanusesZip64Does the entry have a ZIP64 extended information extra field.
-
Constructor Summary
Constructors Modifier Constructor Description privateCurrentEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private <T extends java.io.InputStream>
TcheckInputStream()
-
-
-
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.
-
inputStream
private java.io.InputStream inputStream
The input stream decompressing the data for shrunk and imploded entries.
-
-