com.aspose.email
Class MailMessageInterpretorFactory

java.lang.Object
  extended by com.aspose.email.MailMessageInterpretorFactory

public final class MailMessageInterpretorFactory
extends Object

Represents the object factory for MailMessageInterpretor class.


Method Summary
 void addInterpretor(MailMessageInterpretor interpretor, String messageClass)
           Adds an interpretor instance with specified message class.
 MailMessageInterpretor getDefaultInterpretor()
           Gets or sets the defalut interpretor.
static MailMessageInterpretorFactory getInstance()
           Gets an instance of the MailMessageInterpretorFactory class.
 MailMessageInterpretor getIntepretor(String messageClass)
           Gets an interpretor intance from the factory with specified message class.
 void setDefaultInterpretor(MailMessageInterpretor value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultInterpretor

public MailMessageInterpretor getDefaultInterpretor()

Gets or sets the defalut interpretor.


setDefaultInterpretor

public void setDefaultInterpretor(MailMessageInterpretor value)

getInstance

public static MailMessageInterpretorFactory getInstance()

Gets an instance of the MailMessageInterpretorFactory class.


addInterpretor

public void addInterpretor(MailMessageInterpretor interpretor,
                           String messageClass)

Adds an interpretor instance with specified message class.

Parameters:
interpretor - The interpretor to add.
messageClass - The mapping message class.

getIntepretor

public MailMessageInterpretor getIntepretor(String messageClass)

Gets an interpretor intance from the factory with specified message class.

Parameters:
messageClass - The mapping message class.
Returns:
An interpretor.


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