Package net.lingala.zip4j.io.inputstream
Class InflaterInputStream
java.lang.Object
java.io.InputStream
net.lingala.zip4j.io.inputstream.InflaterInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInflaterInputStream(net.lingala.zip4j.io.inputstream.CipherInputStream<?> cipherInputStream, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidendOfEntryReached(InputStream inputStream, int numberOfBytesPushedBack) protected byte[]intpushBackInputStreamIfNecessary(PushbackInputStream pushbackInputStream) intread()intread(byte[] b) intread(byte[] b, int off, int len) Methods inherited from class java.io.InputStream
available, mark, markSupported, reset, skip
-
Field Details
-
oneByteBuffer
protected byte[] oneByteBuffer
-
-
Constructor Details
-
InflaterInputStream
public InflaterInputStream(net.lingala.zip4j.io.inputstream.CipherInputStream<?> cipherInputStream, int bufferSize)
-
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
endOfEntryReached
public void endOfEntryReached(InputStream inputStream, int numberOfBytesPushedBack) throws IOException - Throws:
IOException
-
pushBackInputStreamIfNecessary
public int pushBackInputStreamIfNecessary(PushbackInputStream pushbackInputStream) throws IOException - Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getLastReadRawDataCache
protected byte[] getLastReadRawDataCache()
-