|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.apache.http.client.entity.DeflateInputStream
public class DeflateInputStream
Deflate input stream. This class includes logic needed for various Rfc's in order to reasonably implement the "deflate" compression style.
| Constructor Summary | |
|---|---|
DeflateInputStream(InputStream wrapped)
|
|
| Method Summary | |
|---|---|
int |
available()
Get available. |
void |
close()
Close. |
void |
mark(int readLimit)
Mark. |
boolean |
markSupported()
Check if mark is supported. |
int |
read()
Read a byte. |
int |
read(byte[] b)
Read lots of bytes. |
int |
read(byte[] b,
int off,
int len)
Read lots of specific bytes. |
void |
reset()
Reset. |
long |
skip(long n)
Skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeflateInputStream(InputStream wrapped)
throws IOException
IOException| Method Detail |
|---|
public int read()
throws IOException
read in class InputStreamIOException
public int read(byte[] b)
throws IOException
read in class InputStreamIOException
public int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOException
public long skip(long n)
throws IOException
skip in class InputStreamIOException
public int available()
throws IOException
available in class InputStreamIOExceptionpublic void mark(int readLimit)
mark in class InputStream
public void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStream
public void close()
throws IOException
close in interface Closeableclose in class InputStreamIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||