public class MimePartDataSource extends Object implements javax.activation.DataSource, MessageAware
| Constructor and Description |
|---|
MimePartDataSource(MimePart part) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
MessageContext |
getMessageContext() |
String |
getName() |
OutputStream |
getOutputStream() |
protected MimePart part
public MimePartDataSource(MimePart part)
public InputStream getInputStream() throws IOException
getInputStream in interface javax.activation.DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface javax.activation.DataSourceIOExceptionpublic String getContentType()
getContentType in interface javax.activation.DataSourcepublic String getName()
getName in interface javax.activation.DataSourcepublic MessageContext getMessageContext()
getMessageContext in interface MessageAwareCopyright © 2013. All Rights Reserved.