Package com.sun.mail.util

Utility classes for use with the JavaMail API.

See:
          Description

Class Summary
ASCIIUtility  
BASE64DecoderStream This class implements a BASE64 Decoder.
BASE64EncoderStream This class implements a BASE64 encoder.
BEncoderStream This class implements a 'B' Encoder as defined by RFC2047 for encoding MIME headers.
CRLFOutputStream Convert lines into the canonical format, that is, terminate lines with the CRLF sequence.
LineInputStream This class is to support reading CRLF terminated lines that contain only US-ASCII characters from an input stream.
LineOutputStream This class is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence.
MailSSLSocketFactory An SSL socket factory that makes it easier to specify trust.
MimeUtil General MIME-related utility methods.
PropUtil Utilities to make it easier to get property values.
QDecoderStream This class implements a Q Decoder as defined in RFC 2047 for decoding MIME headers.
QEncoderStream This class implements a Q Encoder as defined by RFC 2047 for encoding MIME headers.
QPDecoderStream This class implements a QP Decoder.
QPEncoderStream This class implements a Quoted Printable Encoder.
SocketFetcher This class is used to get Sockets.
TraceInputStream This class is a FilterInputStream that writes the bytes being read from the given input stream into the given output stream.
TraceOutputStream This class is a subclass of DataOutputStream that copies the data being written into the DataOutputStream into another output stream.
UUDecoderStream This class implements a UUDecoder.
UUEncoderStream This class implements a UUEncoder.
 

Exception Summary
DecodingException A special IOException that indicates a failure to decode data due to an error in the formatting of the data.
FolderClosedIOException A variant of FolderClosedException that can be thrown from methods that only throw IOException.
MessageRemovedIOException A variant of MessageRemovedException that can be thrown from methods that only throw IOException.
 

Package com.sun.mail.util Description

Utility classes for use with the JavaMail API. These utility classes are not part of the JavaMail specification. While this package contains many classes used by the JavaMail implementation and not intended for direct use by applications, the classes documented here may be of use to applications.

WARNING: The APIs in this package should be considered EXPERIMENTAL. They may be changed in the future in ways that are incompatible with applications using the current APIs.