| Modifier and Type | Field and Description |
|---|---|
| protected byte[] | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | QPDecoderStream(InputStream
the input stream in)Create a Quoted Printable decoder that decodes the specified input stream. |
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Overrides java. |
| public boolean | markSupported()
Overrides java. |
| public int | Returns: the next byte of data, or-1 if the end of the
stream is reached.Overrides java. |
| public int | Returns: the total number of bytes read into the buffer, or-1 if there is no more data because the end of
the stream has been reached.the buffer into which the data is read. buf, int the start offset of the data. off, int the maximum number of bytes read. len)Overrides java. len decoded bytes of data from this input stream
into an array of bytes.
|
| public long | skip(long
the number of bytes to be skipped. n)Overrides java. |
| QPDecoderStream | back to summary |
|---|---|
| public QPDecoderStream(InputStream in) Create a Quoted Printable decoder that decodes the specified input stream.
| |
| available | back to summary |
|---|---|
| public int available() throws IOException Overrides java. Returns the number of bytes that can be read from this input
stream without blocking. The QP algorithm does not permit
a priori knowledge of the number of bytes after decoding, so
this method just invokes the
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Tests if this input stream supports marks. Currently this class does not support marks
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Read the next decoded byte from this input stream. The byte
is returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] buf, int off, int len) throws IOException Overrides java. Reads up to
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Skips over and discards n bytes of data from this stream.
| |