javax.mail.internet
public class MimePartDataSource extends Object implements DataSource, MessageAware
Version: 1.3
| Constructor Summary | |
|---|---|
| MimePartDataSource(MimePart part)
Constructor with a MIME part. | |
| Method Summary | |
|---|---|
| String | getContentType() |
| InputStream | getInputStream()
Returns an input stream from the MIME part.
|
| MessageContext | getMessageContext()
Returns the message context for the current part. |
| String | getName() |
| OutputStream | getOutputStream() |
This method applies the appropriate transfer-decoding, based on the Content-Transfer-Encoding header of the MimePart.