SaveOptions
Inheritance: java.lang.Object
public abstract class SaveOptions
This is an abstract base class for classes that allow the user to specify additional options when saving a MailMessage into a particular format.
Methods
| Method | Description |
|---|---|
| createSaveOptions(MailMessageSaveType saveType) | Creates a save options object of a class suitable for the specified save type. |
| equals(Object arg0) | |
| getClass() | |
| getCustomProgressHandler() | Represents method that usually supplied by calling side and handles progress events. |
| getDefaultEml() | Gets options with default values for saving message to Eml format. |
| getDefaultHtml() | Gets options with default values for saving message to Html format. |
| getDefaultMhtml() | Gets options with default values for saving message to Mhtml format. |
| getDefaultMsg() | Gets options with default values for saving message to Msg(ASCII) format. |
| getDefaultMsgUnicode() | Gets options with default values for saving message to Msg(Unicode) format. |
| getMailMessageSaveType() | Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setCustomProgressHandler(ConversionProgressEventHandler value) | Represents method that usually supplied by calling side and handles progress events. |
| setMailMessageSaveType(MailMessageSaveType value) | Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
createSaveOptions(MailMessageSaveType saveType)
public static SaveOptions createSaveOptions(MailMessageSaveType saveType)
Creates a save options object of a class suitable for the specified save type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| saveType | MailMessageSaveType | The MailMessageSaveTypesave type (#getMailMessageSaveType.getMailMessageSaveType/#setMailMessageSaveType(MailMessageSaveType).setMailMessageSaveType(MailMessageSaveType)) for which to create a save options object. |
Returns: SaveOptions - An object of a class that derives from SaveOptions.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCustomProgressHandler()
public final ConversionProgressEventHandler getCustomProgressHandler()
Represents method that usually supplied by calling side and handles progress events.
Returns: ConversionProgressEventHandler
getDefaultEml()
public static EmlSaveOptions getDefaultEml()
Gets options with default values for saving message to Eml format.
Returns: EmlSaveOptions
getDefaultHtml()
public static HtmlSaveOptions getDefaultHtml()
Gets options with default values for saving message to Html format.
Returns: HtmlSaveOptions
getDefaultMhtml()
public static MhtSaveOptions getDefaultMhtml()
Gets options with default values for saving message to Mhtml format.
Returns: MhtSaveOptions
getDefaultMsg()
public static MsgSaveOptions getDefaultMsg()
Gets options with default values for saving message to Msg(ASCII) format.
Returns: MsgSaveOptions
getDefaultMsgUnicode()
public static MsgSaveOptions getDefaultMsgUnicode()
Gets options with default values for saving message to Msg(Unicode) format.
Returns: MsgSaveOptions
getMailMessageSaveType()
public final MailMessageSaveType getMailMessageSaveType()
Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.
Returns: MailMessageSaveType
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCustomProgressHandler(ConversionProgressEventHandler value)
public final void setCustomProgressHandler(ConversionProgressEventHandler value)
Represents method that usually supplied by calling side and handles progress events.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | ConversionProgressEventHandler |
setMailMessageSaveType(MailMessageSaveType value)
public final void setMailMessageSaveType(MailMessageSaveType value)
Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | MailMessageSaveType |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |