public class HtmlLoadOptions extends LoadOptions
Allows to specify additional options when loading MailMessage from Html format.
Constructor and Description |
---|
HtmlLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Html format.
|
Modifier and Type | Method and Description |
---|---|
String |
getPathToResources()
Path to directory with resources files.
|
void |
setPathToResources(String value)
Path to directory with resources files.
|
boolean |
shouldAddPlainTextView()
Specifies whether to add a text representation of the body or not.
|
void |
shouldAddPlainTextView(boolean value)
Specifies whether to add a text representation of the body or not.
|
getMessageFormat, getPrefferedTextEncoding, setPrefferedTextEncoding
public HtmlLoadOptions()
Initializes a new instance of this class that can be used to loading MailMessage from Html format.
public String getPathToResources()
Path to directory with resources files.
String
object.public void setPathToResources(String value)
Path to directory with resources files.
value
- a String
object.public boolean shouldAddPlainTextView()
Specifies whether to add a text representation of the body or not. Default value is false.
public void shouldAddPlainTextView(boolean value)
Specifies whether to add a text representation of the body or not. Default value is false.
value
- a boolean.Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.