public class ActivityMailMessageInterpretor extends MailMessageInterpretor
Represents a MailMessage interpretor for the activity message type of Outlook MapiMessage.
Constructor and Description |
---|
ActivityMailMessageInterpretor()
Initializes a new instance of the ActivityMailMessageInterpretor class.
|
Modifier and Type | Method and Description |
---|---|
MailMessageInterpretor |
deepClone()
Creates a copy of the current instance.
|
HashMap<String,String> |
getFormatTemplates()
Gets the format template collection.
|
protected void |
loadMessageBodyHtml(MailMessage mailMessage,
MapiMessage mapiMessage)
Creates the HtmlBody property of the MailMessage according to the specified MapiMessage instance.
|
protected void |
loadMessageHeader(MailMessage mailmessage,
MapiMessage mapiMessage)
Imports the headers of MIME protocol to a MailMessage from the MapiMessage instance.
|
void |
save(MapiMessage mapiMessage,
OutputStream stream,
MessageFormat messageFormat) |
interpret, loadAttachment, loadEachAttachment, loadMessageBody, loadMessageBodyText
public ActivityMailMessageInterpretor()
Initializes a new instance of the ActivityMailMessageInterpretor class.
public MailMessageInterpretor deepClone()
Creates a copy of the current instance.
deepClone
in class MailMessageInterpretor
protected void loadMessageHeader(MailMessage mailmessage, MapiMessage mapiMessage)
Imports the headers of MIME protocol to a MailMessage from the MapiMessage instance.
loadMessageHeader
in class MailMessageInterpretor
mailmessage
- The target MailMessage.mapiMessage
- The source MapiMessage.protected void loadMessageBodyHtml(MailMessage mailMessage, MapiMessage mapiMessage)
Creates the HtmlBody property of the MailMessage according to the specified MapiMessage instance.
loadMessageBodyHtml
in class MailMessageInterpretor
mailMessage
- The target MailMessage.mapiMessage
- The source MapiMessage.public void save(MapiMessage mapiMessage, OutputStream stream, MessageFormat messageFormat)
save
in class MailMessageInterpretor
Copyright (c) 2008-2014 Aspose Pty Ltd. All Rights Reserved.