public class InlineAttachmentDataSource
extends java.lang.Object
implements javax.activation.DataSource
InlineAttachmentDataSource representa um anexo que deve
ser exibido no corpo do email, como por exemplo uma imagem.| Constructor and Description |
|---|
InlineAttachmentDataSource(javax.activation.DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCID() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.io.OutputStream |
getOutputStream() |
public InlineAttachmentDataSource(javax.activation.DataSource dataSource)
public java.lang.String getContentType()
getContentType in interface javax.activation.DataSourcepublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface javax.activation.DataSourcejava.io.IOExceptionpublic java.lang.String getName()
getName in interface javax.activation.DataSourcepublic java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface javax.activation.DataSourcejava.io.IOExceptionpublic java.lang.String getCID()