gnu.mail.util
Class QPInputStream
FilterInputStream
gnu.mail.util.QPInputStream
public class QPInputStream
extends FilterInputStream
A Quoted-Printable decoder stream.
protected byte[] | buf
|
protected int | spaceCount - The number of times read() will return a space.
|
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.
|
spaceCount
protected int spaceCount
The number of times read() will return a space.
QPInputStream
public QPInputStream(InputStream in)
Constructor.
in
- the underlying input stream.
available
public int available()
throws IOException
Returns the number of bytes that can be read without blocking.
markSupported
public boolean markSupported()
Mark is not supported.
read
public int read()
throws IOException
Read a character from the stream.
read
public int read(byte[] bytes,
int off,
int len)
throws IOException
Reads from the underlying stream into the specified byte array.