|
|||||||||
| 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(java.io.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(java.io.InputStream wrapped)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void mark(int readLimit)
mark in class java.io.InputStream
public void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStream
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||