|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.apache.geronimo.mail.util.QuotedPrintableDecoderStream
An implementation of a FilterOutputStream that decodes the stream data in Q-P encoding format. This version does the decoding "on the fly" rather than decoding a single block of data. Since this version is intended for use by the MimeUtilty class, it also handles line breaks in the encoded data.
| Field Summary | |
protected QuotedPrintableEncoder |
decoder
|
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
QuotedPrintableDecoderStream(java.io.InputStream in)
Stream constructor. |
|
| Method Summary | |
int |
available()
Give an estimate of how much additional data is available from this stream. |
boolean |
markSupported()
Indicate whether this stream supports the mark() operation. |
int |
read()
Read a single byte from the stream. |
int |
read(byte[] buffer,
int offset,
int length)
Read a buffer of data from the input stream. |
| 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 QuotedPrintableEncoder decoder
| Constructor Detail |
public QuotedPrintableDecoderStream(java.io.InputStream in)
in - The InputStream this stream is filtering.| Method Detail |
public int read()
throws java.io.IOException
java.io.IOException
public int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
buffer - The target byte array the data is placed into.offset - The starting offset for the read data.length - How much data is requested.
java.io.IOExceptionpublic boolean markSupported()
public int available()
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||