com.sun.mail.util
Interface ReadableMime
- All Known Implementing Classes:
- IMAPMessage, POP3Message
public interface ReadableMime
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.
- Since:
- JavaMail 1.4.5
getMimeStream
InputStream getMimeStream()
throws MessagingException
- Return the MIME format stream corresponding to this message part.
- Returns:
- the MIME format stream
- Throws:
MessagingException
Copyright © 2013 Oracle. All Rights Reserved.