This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.util
class QDecoderStream

com.sun.mail.util.QPDecoderStream extended by com.sun.mail.util.QDecoderStream

public class QDecoderStream
extends QPDecoderStream

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
 
Constructor Summary

          Create a Q-decoder that decodes the specified input stream.
 
Method Summary
 int

          Read the next decoded byte from this input stream.
 
Methods inherited from class com.sun.mail.util.QPDecoderStream
available, markSupported, read, read
 

Constructor Detail

QDecoderStream

public QDecoderStream(InputStream in)
Create a Q-decoder that decodes the specified input stream.

Parameters:
in - the input stream
Method Detail

read

public int read()
         throws IOException
Read the next decoded byte from this input stream. The byte is returned as an 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.

Overrides:
read in class QPDecoderStream
Returns:
the next byte of data, or -1 if the end of the stream is reached.
Throws:
IOException - if an I/O error occurs.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.