public class AttachmentDataSource extends Object implements DataSource
Attachment and implements DataSource interface on the top of it.| Constructor and Description |
|---|
AttachmentDataSource(org.everit.email.Attachment attachment) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public AttachmentDataSource(org.everit.email.Attachment attachment)
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2011–2016 Everit Kft.. All rights reserved.