Class MailMessageAttachment
- java.lang.Object
-
- com.aquima.interactions.foundation.connectivity.impl.MailMessageAttachment
-
- All Implemented Interfaces:
IMailMessageAttachment
public class MailMessageAttachment extends Object implements IMailMessageAttachment
This class is a wrapper for a mail attachment.- Since:
- 9.8
- Author:
- Alexandra Aldea, Voicu Moldovan
-
-
Constructor Summary
Constructors Constructor Description MailMessageAttachment(byte[] content, String contentType, String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
This method returns the content of a mail attachment.String
getContentType()
This method returns the content type of a mail attachment.String
getFileName()
This method returns the name of a mail attachment.
-
-
-
Method Detail
-
getContent
public byte[] getContent()
Description copied from interface:IMailMessageAttachment
This method returns the content of a mail attachment.- Specified by:
getContent
in interfaceIMailMessageAttachment
- Returns:
- The array of bytes containing the content.
-
getContentType
public String getContentType()
Description copied from interface:IMailMessageAttachment
This method returns the content type of a mail attachment.- Specified by:
getContentType
in interfaceIMailMessageAttachment
- Returns:
- A string representing the content type value.
-
getFileName
public String getFileName()
Description copied from interface:IMailMessageAttachment
This method returns the name of a mail attachment.- Specified by:
getFileName
in interfaceIMailMessageAttachment
- Returns:
- A string representing the name of the attachment.
-
-