public static class MailObject.Attachment extends Object implements DataSource, Serializable
| Constructor and Description |
|---|
Attachment() |
Attachment(String name,
byte[] data,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, getNamepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2023. All rights reserved.