public class DataSourceAttachment extends EmailAttachment
DataSource adapter for attachments.| Modifier and Type | Field and Description |
|---|---|
protected javax.activation.DataSource |
dataSource |
contentId, name, size, targetMessage| Constructor and Description |
|---|
DataSourceAttachment(javax.activation.DataSource dataSource,
java.lang.String name,
java.lang.String contentId) |
| Modifier and Type | Method and Description |
|---|---|
javax.activation.DataSource |
getDataSource()
Returns wrapped data source.
|
attachment, getContentId, getEncodedName, getName, getSize, isEmbeddedInto, isInline, setEmbeddedMessage, setSize, toByteArray, writeToFile, writeToStreampublic DataSourceAttachment(javax.activation.DataSource dataSource,
java.lang.String name,
java.lang.String contentId)
public javax.activation.DataSource getDataSource()
getDataSource in class EmailAttachmentCopyright © 2003-2013 Jodd Team