Package net.lingala.zip4j.io.inputstream
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 TypeMethodDescriptionvoid
close()
void
endOfEntryReached
(InputStream inputStream, int numberOfBytesPushedBack) protected byte[]
int
pushBackInputStreamIfNecessary
(PushbackInputStream pushbackInputStream) int
read()
int
read
(byte[] b) int
read
(byte[] b, int off, int len) Methods inherited from class java.io.InputStream
available, mark, markSupported, reset, skip
-
Field Details
-
cipherInputStream
-
oneByteBuffer
protected byte[] oneByteBuffer
-
-
Constructor Details
-
DecompressedInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in 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()
-