|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.mail.EmailAttachment
jodd.mail.att.DataSourceAttachment
public class DataSourceAttachment
Generic DataSource adapter for attachments.
| Field Summary | |
|---|---|
protected javax.activation.DataSource |
dataSource
|
| Fields inherited from class jodd.mail.EmailAttachment |
|---|
contentId, name, size, targetMessage |
| Constructor Summary | |
|---|---|
DataSourceAttachment(javax.activation.DataSource dataSource,
java.lang.String name,
java.lang.String contentId)
|
|
| Method Summary | |
|---|---|
javax.activation.DataSource |
getDataSource()
Returns wrapped data source. |
| Methods inherited from class jodd.mail.EmailAttachment |
|---|
attachment, getContentId, getName, getSize, isEmbeddedInto, isInline, setEmbeddedMessage, setSize, toByteArray, writeToFile, writeToStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final javax.activation.DataSource dataSource
| Constructor Detail |
|---|
public DataSourceAttachment(javax.activation.DataSource dataSource,
java.lang.String name,
java.lang.String contentId)
| Method Detail |
|---|
public javax.activation.DataSource getDataSource()
getDataSource in class EmailAttachment
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||