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()StringgetFileName()intgetId()List<EmailContent>getMailParts()StringgetMd5Hash()StringgetMimeType()StringgetParentIndex()intgetPartCount()StringgetPartIndex()intgetSize()StringgetTextContent()booleanisHasMultipart()booleanisHasText()booleanisShowDownloadLink() 
 - 
 
- 
- 
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.MessagingExceptionIOException
 
 - 
 
- 
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()
 
 - 
 
 -