public interface Attachment
| Modifier and Type | Method and Description |
|---|---|
String |
getContentId() |
String |
getContentType() |
String |
getDisposition() |
InputStream |
getInputStream()
This method is necessary for DataSource support, but useData is preferred
|
String |
getName() |
int |
size() |
void |
useData(InputStreamConsumer exec)
Use the data of the attachment.
|
String getName()
void useData(InputStreamConsumer exec)
exec - - closure which will consume the stream of dataInputStream getInputStream()
int size()
String getContentId()
String getContentType()
String getDisposition()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.