Class ZipEntryInputStream
java.lang.Object
java.io.InputStream
net.lingala.zip4j.io.inputstream.ZipEntryInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate InputStreamprivate static final intprivate longprivate byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longintread()intread(byte[] b) intread(byte[] b, int off, int len) intreadRawFully(byte[] b) private intreadUntilBufferIsFull(byte[] b, int readLength) Methods inherited from class InputStream
available, mark, markSupported, reset, skip
-
Field Details
-
MAX_RAW_READ_FULLY_RETRY_ATTEMPTS
private static final int MAX_RAW_READ_FULLY_RETRY_ATTEMPTS- See Also:
-
inputStream
-
numberOfBytesRead
private long numberOfBytesRead -
singleByteArray
private byte[] singleByteArray -
compressedSize
private long compressedSize
-
-
Constructor Details
-
ZipEntryInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
readRawFully
- Throws:
IOException
-
readUntilBufferIsFull
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
getNumberOfBytesRead
public long getNumberOfBytesRead()
-