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
public class InflaterInputStream extends InputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]oneByteBuffer
-
Constructor Summary
Constructors Constructor Description InflaterInputStream(net.lingala.zip4j.io.inputstream.CipherInputStream<?> cipherInputStream, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidendOfEntryReached(InputStream inputStream, int numberOfBytesPushedBack)protected byte[]getLastReadRawDataCache()intpushBackInputStreamIfNecessary(PushbackInputStream pushbackInputStream)intread()intread(byte[] b)intread(byte[] b, int off, int len)-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Method Detail
-
read
public int read() throws IOException- Throws:
IOException
-
read
public int read(byte[] b) throws IOException- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- 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
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getLastReadRawDataCache
protected byte[] getLastReadRawDataCache()
-
-