com.jcraft.jzlib
Class InflaterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.jcraft.jzlib.InflaterInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- GZIPInputStream
public class InflaterInputStream
- extends FilterInputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inflater
protected final Inflater inflater
buf
protected byte[] buf
DEFAULT_BUFSIZE
protected static final int DEFAULT_BUFSIZE
- See Also:
- Constant Field Values
myinflater
protected boolean myinflater
InflaterInputStream
public InflaterInputStream(InputStream in)
throws IOException
- Throws:
IOException
InflaterInputStream
public InflaterInputStream(InputStream in,
boolean nowrap)
throws IOException
- Throws:
IOException
InflaterInputStream
public InflaterInputStream(InputStream in,
Inflater inflater)
throws IOException
- Throws:
IOException
InflaterInputStream
public InflaterInputStream(InputStream in,
Inflater inflater,
int size)
throws IOException
- Throws:
IOException
InflaterInputStream
public InflaterInputStream(InputStream in,
Inflater inflater,
int size,
boolean close_in)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available
in class FilterInputStream
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Overrides:
skip
in class FilterInputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterInputStream
- Throws:
IOException
fill
protected void fill()
throws IOException
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class FilterInputStream
mark
public void mark(int readlimit)
- Overrides:
mark
in class FilterInputStream
reset
public void reset()
throws IOException
- Overrides:
reset
in class FilterInputStream
- Throws:
IOException
getTotalIn
public long getTotalIn()
getTotalOut
public long getTotalOut()
getAvailIn
public byte[] getAvailIn()
readHeader
public void readHeader()
throws IOException
- Throws:
IOException
getInflater
public Inflater getInflater()
Copyright © 2015 Perforce Software. All Rights Reserved.