|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
com.sun.mail.util.QPDecoderStream
com.sun.mail.util.QDecoderStream
public class QDecoderStream
This class implements a Q Decoder as defined in RFC 2047 for decoding MIME headers. It subclasses the QPDecoderStream class.
Field Summary |
---|
Fields inherited from class com.sun.mail.util.QPDecoderStream |
---|
ba, spaces |
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
QDecoderStream(java.io.InputStream in)
Create a Q-decoder that decodes the specified input stream. |
Method Summary | |
---|---|
int |
read()
Read the next decoded byte from this input stream. |
Methods inherited from class com.sun.mail.util.QPDecoderStream |
---|
available, markSupported, read |
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 |
Constructor Detail |
---|
public QDecoderStream(java.io.InputStream in)
in
- the input streamMethod Detail |
---|
public int read() throws java.io.IOException
int
in the range 0
to 255
. If no byte is available because the end of
the stream has been reached, the value -1
is returned.
This method blocks until input data is available, the end of the
stream is detected, or an exception is thrown.
read
in class QPDecoderStream
-1
if the end of the
stream is reached.
java.io.IOException
- if an I/O error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |