public final class MailMessageInterpretorFactory extends Object
Represents the object factory for MailMessageInterpretor class.
Modifier and Type | Method and Description |
---|---|
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)
Gets or sets the defalut interpretor.
|
public MailMessageInterpretor getDefaultInterpretor()
Gets or sets the defalut interpretor.
MailMessageInterpretor
object.public void setDefaultInterpretor(MailMessageInterpretor value)
Gets or sets the defalut interpretor.
value
- a MailMessageInterpretor
object.public static MailMessageInterpretorFactory getInstance()
Gets an instance of the MailMessageInterpretorFactory class.
MailMessageInterpretorFactory
object.public void addInterpretor(MailMessageInterpretor interpretor, String messageClass)
Adds an interpretor instance with specified message class.
interpretor
- The interpretor to add.messageClass
- The mapping message class.public MailMessageInterpretor getIntepretor(String messageClass)
Gets an interpretor intance from the factory with specified message class.
messageClass
- The mapping message class.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.