public class ByteArrayMimeAttachment extends Object implements IMimeAttachment
IMimeAttachment
to use a byte array
as MIME attachment.Constructor and Description |
---|
ByteArrayMimeAttachment(byte[] data,
String fileName) |
ByteArrayMimeAttachment(byte[] data,
String fileName,
String contentType) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFileName() |
InputStream |
getInputStream() |
public ByteArrayMimeAttachment(byte[] data, String fileName)
public String getFileName() throws IOException
getFileName
in interface IMimeAttachment
IOException
public String getContentType() throws IOException
getContentType
in interface IMimeAttachment
IOException
public InputStream getInputStream() throws IOException
getInputStream
in interface IMimeAttachment
IOException
Copyright © 2019–2021 HCL. All rights reserved.