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.DataSource
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface javax.activation.DataSource
IOException
public String getContentType()
getContentType
in interface javax.activation.DataSource
public String getName()
getName
in interface javax.activation.DataSource
public MessageContext getMessageContext()
getMessageContext
in interface MessageAware
Copyright © 2013. All rights reserved.