com.aspose.email
Class MailMessageInterpretor

java.lang.Object
  extended by com.aspose.email.MailMessageInterpretor
Direct Known Subclasses:
ActivityMailMessageInterpretor, AppointmentMailMessageInterpretor, ContactMailMessageInterpretor, NDRReportMailMessageInterpretor, NormalMessageMailMessageInterpretor

public abstract class MailMessageInterpretor
extends Object

The base class for MailMessage interpretor.


Method Summary
abstract  MailMessageInterpretor deepClone()
           Creates a copy of the current instance.
 MailMessage interpret(MapiMessage mapiMessage)
           Imports the MapiMessage information into a MailMessage object.
 void save(MapiMessage mapiMessage, OutputStream stream, MessageFormat messageFormat)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

interpret

public MailMessage interpret(MapiMessage mapiMessage)

Imports the MapiMessage information into a MailMessage object.

Parameters:
mapiMessage - The source MapiMessage.
Returns:
The MailMessage.

save

public void save(MapiMessage mapiMessage,
                 OutputStream stream,
                 MessageFormat messageFormat)

deepClone

public abstract MailMessageInterpretor deepClone()

Creates a copy of the current instance.

Returns:
A copy of MailMessageInterpretor.


Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.