Class DecompressedInputStream
java.lang.Object
java.io.InputStream
net.lingala.zip4j.io.inputstream.DecompressedInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
- Direct Known Subclasses:
InflaterInputStream, StoreInputStream
-
Field Summary
Fields -
Constructor Summary
Constructors -
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 InputStream
available, mark, markSupported, reset, skip
-
Field Details
-
cipherInputStream
-
oneByteBuffer
protected byte[] oneByteBuffer
-
-
Constructor Details
-
DecompressedInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
endOfEntryReached
public void endOfEntryReached(InputStream inputStream, int numberOfBytesPushedBack) throws IOException - Throws:
IOException
-
pushBackInputStreamIfNecessary
public int pushBackInputStreamIfNecessary(PushbackInputStream pushbackInputStream) throws IOException - Throws:
IOException
-
getLastReadRawDataCache
protected byte[] getLastReadRawDataCache()
-