com.aspose.network
Class MailMessageInterpretor

java.lang.Object
  extended by com.aspose.network.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)
           Saves the specified MapiMessage to a Stream.
 
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)

Saves the specified MapiMessage to a Stream.

Parameters:
mapiMessage - The source MapiMessage instance.
stream - The target stream.
messageFormat - The message format.

deepClone

public abstract MailMessageInterpretor deepClone()

Creates a copy of the current instance.

Returns:
A copy of MailMessageInterpretor.


Copyright (c) 2002-2011 Aspose Pty Ltd. All Rights Reserved.