|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
gnu.mail.util.QPInputStream
public class QPInputStream
A Quoted-Printable decoder stream.
| Field Summary | |
|---|---|
protected byte[] |
buf
|
protected int |
spaceCount
The number of times read() will return a space. |
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
QPInputStream(java.io.InputStream in)
Constructor. |
|
| Method Summary | |
|---|---|
int |
available()
Returns the number of bytes that can be read without blocking. |
boolean |
markSupported()
Mark is not supported. |
int |
read()
Read a character from the stream. |
int |
read(byte[] bytes,
int off,
int len)
Reads from the underlying stream into the specified byte array. |
| Methods inherited from class java.io.FilterInputStream |
|---|
close, mark, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected byte[] buf
protected int spaceCount
| Constructor Detail |
|---|
public QPInputStream(java.io.InputStream in)
in - the underlying input stream.| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException
public int read(byte[] bytes,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.FilterInputStream
public int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||