Class EmailContent
- java.lang.Object
-
- de.xima.fc.e2e.containerplugin.model.EmailContent
-
- All Implemented Interfaces:
Serializable
public final class EmailContent extends Object implements Serializable
Model for displaying the content of an email (which may be a multipart consisting of other parts).- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmailContent()
EmailContent(javax.mail.Part part, String parentIndex, int partIndex, String joinedIndex, int partCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContentData()
String
getFileName()
int
getId()
List<EmailContent>
getMailParts()
String
getMd5Hash()
String
getMimeType()
String
getParentIndex()
int
getPartCount()
String
getPartIndex()
int
getSize()
String
getTextContent()
boolean
isHasMultipart()
boolean
isHasText()
boolean
isShowDownloadLink()
-
-
-
Constructor Detail
-
EmailContent
public EmailContent()
-
EmailContent
public EmailContent(javax.mail.Part part, String parentIndex, int partIndex, String joinedIndex, int partCount) throws javax.mail.MessagingException, IOException
- Throws:
javax.mail.MessagingException
IOException
-
-
Method Detail
-
getContentData
public byte[] getContentData()
-
getFileName
public String getFileName()
-
getId
public int getId()
-
getMailParts
public List<EmailContent> getMailParts()
-
getMd5Hash
public String getMd5Hash()
-
getMimeType
public String getMimeType()
-
getParentIndex
public String getParentIndex()
-
getPartCount
public int getPartCount()
-
getPartIndex
public String getPartIndex()
-
getSize
public int getSize()
-
getTextContent
public String getTextContent()
-
isHasMultipart
public boolean isHasMultipart()
-
isHasText
public boolean isHasText()
-
isShowDownloadLink
public boolean isShowDownloadLink()
-
-