Top Description Methods
com.sun.mail.util

public Interface ReadableMime

Known Direct Implementers
com.sun.mail.imap.IMAPBodyPart, com.sun.mail.imap.IMAPMessage, com.sun.mail.pop3.POP3Message
Imports
java.io.InputStream, javax.mail.MessagingException

A Message or message Part whose data can be read as a MIME format stream. Note that the MIME stream will include both the headers and the body of the message or part. This should be the same data that is produced by the writeTo method, but in a readable form.
Author
Bill Shannon
Since
JavaMail 1.4.5

Method Summary

Modifier and TypeMethod and Description
public InputStream

Returns:

the MIME format stream
getMimeStream
()

Return the MIME format stream corresponding to this message part.

Method Detail

getMimeStreamback to summary
public InputStream getMimeStream() throws MessagingException

Return the MIME format stream corresponding to this message part.

Returns:InputStream

the MIME format stream

Exceptions
MessagingException:
for failures