public abstract class LoadOptions extends Object
This is an abstract base class for classes that allow the user to specify additional options when loading a MailMessage from a particular format.
Constructor and Description |
---|
LoadOptions() |
Modifier and Type | Method and Description |
---|---|
MessageFormat |
getMessageFormat()
Represents the mail message format.It can be in eml,msg or mhtml format.
|
Charset |
getPrefferedTextEncoding()
Gets or sets preferred encoding for message.
|
boolean |
getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading in MailMessage.
|
void |
setPrefferedTextEncoding(Charset value)
Gets or sets preferred encoding for message.
|
void |
setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading in MailMessage.
|
public final Charset getPrefferedTextEncoding()
Gets or sets preferred encoding for message. The default value is null.
public final void setPrefferedTextEncoding(Charset value)
Gets or sets preferred encoding for message. The default value is null.
public final MessageFormat getMessageFormat()
Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml.
public final boolean getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage.
public final void setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading in MailMessage.