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 |
getPreferredTextEncoding()
Gets or sets preferred encoding for message.
|
Charset |
getPrefferedTextEncoding()
Deprecated.
This property is marked as obsolete and will be removed soon.Please, use PreferredTextEncoding instead this.
|
boolean |
getPreserveEmbeddedMessageFormat()
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading.
|
void |
setPreferredTextEncoding(Charset value)
Gets or sets preferred encoding for message.
|
void |
setPrefferedTextEncoding(Charset value)
Deprecated.
This property is marked as obsolete and will be removed soon.Please, use PreferredTextEncoding instead this.
|
void |
setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of
embedded message at loading.
|
@Deprecated public final Charset getPrefferedTextEncoding()
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
@Deprecated public final void setPrefferedTextEncoding(Charset value)
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
public final Charset getPreferredTextEncoding()
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. The default value is null.
public final void setPreferredTextEncoding(Charset value)
Gets or sets preferred encoding for message. Forcibly sets the preferred encoding for message subject and body. 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. By default the value is false.
public final void setPreserveEmbeddedMessageFormat(boolean value)
Gets or sets a value indicating whether it is necessary to preserve format of embedded message at loading. By default the value is false.
Copyright (c) 2008-2023 Aspose Pty Ltd. All Rights Reserved.