public static class Email.InMemoryAttachment extends Object implements Email.Attachment
| Constructor and Description |
|---|
InMemoryAttachment(String name,
String contentType,
InputStream data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getData() |
String |
getName() |
public InMemoryAttachment(String name, String contentType, InputStream data) throws ReadingException, WritingException
ReadingExceptionWritingExceptionpublic InputStream getData()
getData in interface Email.Attachmentpublic String getName()
getName in interface Email.Attachmentpublic String getContentType()
getContentType in interface Email.AttachmentCopyright © 2021 McEvoy Software Ltd. All rights reserved.