Package io.deephaven.io.streams
Class ZipInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- io.deephaven.io.streams.ZipInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class ZipInputStream extends java.io.FilterInputStream
-
-
Field Summary
Fields Modifier and Type Field Description static intBUFFER_LIMITprotected java.io.DataInputStreamdataInprotected java.util.zip.InflaterInputStreamiis
-
Constructor Summary
Constructors Constructor Description ZipInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()booleanmarkSupported()intread()intread(byte[] b)intread(byte[] b, int off, int len)longskip(long n)
-
-
-
Field Detail
-
BUFFER_LIMIT
public static final int BUFFER_LIMIT
- See Also:
- Constant Field Values
-
dataIn
protected java.io.DataInputStream dataIn
-
iis
protected java.util.zip.InflaterInputStream iis
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b) throws java.io.IOException- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- Overrides:
skipin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
available
public int available() throws java.io.IOException- Overrides:
availablein classjava.io.FilterInputStream- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupportedin classjava.io.FilterInputStream
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.FilterInputStream- Throws:
java.io.IOException
-
-