MailStorageConverter

Inheritance: java.lang.Object

public class MailStorageConverter

Mail storage converter provides services for storage conversion operations.

Constructors

Constructor Description
MailStorageConverter()

Methods

Method Description
equals(Object arg0)
getClass()
getMboxMessageOptions() Gets or sets email load options when parsing an Mbox storage.
hashCode()
mboxToPst(MboxStorageReader mboxStorageReader, PersonalStorage pst, String pstFolderName, MailStorageConverter.MailHandler mailHandler) Converts an Mbox storage to PST.
mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream) Converts an Mbox storage to PST.
mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream, MailStorageConverter.MailHandler mailHandler) Converts an Mbox storage to PST.
mboxToPst(InputStream mboxrdDataStream, String pstFileName) Converts an Mbox storage to PST.
mboxToPst(InputStream mboxrdDataStream, String pstFileName, MailStorageConverter.MailHandler mailHandler) Converts an Mbox storage to PST.
mboxToPst(String mboxFileName, System.IO.Stream pstDataStream) Converts an Mbox storage to PST.
mboxToPst(String mboxFileName, System.IO.Stream pstDataStream, MailStorageConverter.MailHandler mailHandler) Converts an Mbox storage to PST.
mboxToPst(String mboxFileName, OutputStream pstDataStream) Converts an Mbox storage to PST.
mboxToPst(String mboxFileName, OutputStream pstDataStream, MailStorageConverter.MailHandler mailHandler) Converts an Mbox storage to PST.
mboxToPst(String mboxFileName, String pstFileName) Converts an Mbox storage to PST.
mboxToPst(String mboxFileName, String pstFileName, MailStorageConverter.MailHandler mailHandler) Converts an Mbox storage to PST.
notify()
notifyAll()
setMboxMessageOptions(EmlLoadOptions value) Gets or sets email load options when parsing an Mbox storage.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MailStorageConverter()

public MailStorageConverter()

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

getMboxMessageOptions()

public static EmlLoadOptions getMboxMessageOptions()

Gets or sets email load options when parsing an Mbox storage.

Value: The EmlLoadOptions that specifies load options.

Returns: EmlLoadOptions

hashCode()

public native int hashCode()

Returns: int

mboxToPst(MboxStorageReader mboxStorageReader, PersonalStorage pst, String pstFolderName, MailStorageConverter.MailHandler mailHandler)

public static void mboxToPst(MboxStorageReader mboxStorageReader, PersonalStorage pst, String pstFolderName, MailStorageConverter.MailHandler mailHandler)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxStorageReader MboxStorageReader An MboxStorageReader that represents an mbox-based mail storage reader.
pst PersonalStorage A PersonalStorage that represents a pst storage.
pstFolderName java.lang.String The folder name, at the root of the pst, where Mbox messages will be added. If this folder doesn’t exist, it will be created. If the folder exists and isn’t empty, new messages will be added to the existing ones.
mailHandler MailHandler The MailHandler delegate is called for each message that is read from Mbox.

mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxrdDataStream java.io.InputStream A java.io.InputStream that represents data in Mbox format.
pstDataStream java.io.OutputStream A java.io.InputStream that represents data in Pst format.

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream, MailStorageConverter.MailHandler mailHandler)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream, MailStorageConverter.MailHandler mailHandler)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxrdDataStream java.io.InputStream A java.io.InputStream that represents data in Mbox format.
pstDataStream java.io.OutputStream A java.io.InputStream that represents data in Pst format.
mailHandler MailHandler The MailHandler delegate is called for each message that is read from Mbox.

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(InputStream mboxrdDataStream, String pstFileName)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, String pstFileName)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxrdDataStream java.io.InputStream A java.io.InputStream that represents data in Mbox format.
pstFileName java.lang.String PST file name.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(InputStream mboxrdDataStream, String pstFileName, MailStorageConverter.MailHandler mailHandler)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, String pstFileName, MailStorageConverter.MailHandler mailHandler)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxrdDataStream java.io.InputStream A java.io.InputStream that represents data in Mbox format.
pstFileName java.lang.String PST file name.
mailHandler MailHandler The MailHandler delegate is called for each message that is read from Mbox.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(String mboxFileName, System.IO.Stream pstDataStream)

public static PersonalStorage mboxToPst(String mboxFileName, System.IO.Stream pstDataStream)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxFileName java.lang.String Mbox file name.
pstDataStream com.aspose.ms.System.IO.Stream A Stream that represents data in Pst format.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(String mboxFileName, System.IO.Stream pstDataStream, MailStorageConverter.MailHandler mailHandler)

public static PersonalStorage mboxToPst(String mboxFileName, System.IO.Stream pstDataStream, MailStorageConverter.MailHandler mailHandler)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxFileName java.lang.String Mbox file name.
pstDataStream com.aspose.ms.System.IO.Stream A Stream that represents data in Pst format.
mailHandler MailHandler The MailHandler delegate is called for each message that is read from Mbox.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(String mboxFileName, OutputStream pstDataStream)

public static PersonalStorage mboxToPst(String mboxFileName, OutputStream pstDataStream)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxFileName java.lang.String Mbox file name.
pstDataStream java.io.OutputStream A java.io.InputStream that represents data in Pst format.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(String mboxFileName, OutputStream pstDataStream, MailStorageConverter.MailHandler mailHandler)

public static PersonalStorage mboxToPst(String mboxFileName, OutputStream pstDataStream, MailStorageConverter.MailHandler mailHandler)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxFileName java.lang.String Mbox file name.
pstDataStream java.io.OutputStream A java.io.InputStream that represents data in Pst format.
mailHandler MailHandler The MailHandler delegate is called for each message that is read from Mbox.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(String mboxFileName, String pstFileName)

public static PersonalStorage mboxToPst(String mboxFileName, String pstFileName)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxFileName java.lang.String Mbox file name.
pstFileName java.lang.String PST file name.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

mboxToPst(String mboxFileName, String pstFileName, MailStorageConverter.MailHandler mailHandler)

public static PersonalStorage mboxToPst(String mboxFileName, String pstFileName, MailStorageConverter.MailHandler mailHandler)

Converts an Mbox storage to PST.

Parameters:

Parameter Type Description
mboxFileName java.lang.String Mbox file name.
pstFileName java.lang.String PST file name.
mailHandler MailHandler The MailHandler delegate is called for each message that is read from Mbox.

In addition the same set of exceptions can be thrown as for FileStream creation using the open/read, create/write mode. |

Returns: PersonalStorage - A PersonalStorage object that represents the converted storage.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setMboxMessageOptions(EmlLoadOptions value)

public static void setMboxMessageOptions(EmlLoadOptions value)

Gets or sets email load options when parsing an Mbox storage.

Value: The EmlLoadOptions that specifies load options.

Parameters:

Parameter Type Description
value EmlLoadOptions

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