MailStorageConverter

Inheritance: java.lang.Object

public class MailStorageConverter

Mail storage converter provides services for storage conversion operations.

Constructors

ConstructorDescription
MailStorageConverter()

Methods

MethodDescription
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(MboxStorageReader mboxStorageReader, PersonalStorage pst, String pstFolderName, MboxToPstConversionOptions options)Converts an Mbox storage to PST.
mboxToPst(System.IO.Stream mboxrdDataStream, System.IO.Stream pstDataStream)
mboxToPst(System.IO.Stream mboxrdDataStream, System.IO.Stream pstDataStream, MailStorageConverter.MailHandler mailHandler)
mboxToPst(System.IO.Stream mboxrdDataStream, System.IO.Stream pstDataStream, MboxToPstConversionOptions options)
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, OutputStream pstDataStream, MboxToPstConversionOptions options)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.
mboxToPst(String mboxFileName, String pstFileName, MboxToPstConversionOptions options)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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
mboxStorageReaderMboxStorageReaderAn MboxStorageReader that represents an mbox-based mail storage reader.
pstPersonalStorageA PersonalStorage that represents a pst storage.
pstFolderNamejava.lang.StringThe 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.
mailHandlerMailHandlerThe MailHandler delegate is called for each message that is read from Mbox.

mboxToPst(MboxStorageReader mboxStorageReader, PersonalStorage pst, String pstFolderName, MboxToPstConversionOptions options)

public static void mboxToPst(MboxStorageReader mboxStorageReader, PersonalStorage pst, String pstFolderName, MboxToPstConversionOptions options)

Converts an Mbox storage to PST.

Parameters:

ParameterTypeDescription
mboxStorageReaderMboxStorageReaderAn MboxStorageReader that represents an mbox-based mail storage reader.
pstPersonalStorageA PersonalStorage that represents a pst storage.
pstFolderNamejava.lang.StringThe 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.
optionsMboxToPstConversionOptionsAn MboxToPstConversionOptions additional options when converting from Mbox to PST

mboxToPst(System.IO.Stream mboxrdDataStream, System.IO.Stream pstDataStream)

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

Parameters:

ParameterTypeDescription
mboxrdDataStreamcom.aspose.ms.System.IO.Stream
pstDataStreamcom.aspose.ms.System.IO.Stream

Returns: PersonalStorage

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

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

Parameters:

ParameterTypeDescription
mboxrdDataStreamcom.aspose.ms.System.IO.Stream
pstDataStreamcom.aspose.ms.System.IO.Stream
mailHandlerMailHandler

Returns: PersonalStorage

mboxToPst(System.IO.Stream mboxrdDataStream, System.IO.Stream pstDataStream, MboxToPstConversionOptions options)

public static PersonalStorage mboxToPst(System.IO.Stream mboxrdDataStream, System.IO.Stream pstDataStream, MboxToPstConversionOptions options)

Parameters:

ParameterTypeDescription
mboxrdDataStreamcom.aspose.ms.System.IO.Stream
pstDataStreamcom.aspose.ms.System.IO.Stream
optionsMboxToPstConversionOptions

Returns: PersonalStorage

mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream)

Converts an Mbox storage to PST.

Parameters:

ParameterTypeDescription
mboxrdDataStreamjava.io.InputStreamA java.io.InputStream that represents data in Mbox format.
pstDataStreamjava.io.OutputStreamA 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:

ParameterTypeDescription
mboxrdDataStreamjava.io.InputStreamA java.io.InputStream that represents data in Mbox format.
pstDataStreamjava.io.OutputStreamA java.io.InputStream that represents data in Pst format.
mailHandlerMailHandlerThe 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, OutputStream pstDataStream, MboxToPstConversionOptions options)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream, MboxToPstConversionOptions options)

Converts an Mbox storage to PST.

Parameters:

ParameterTypeDescription
mboxrdDataStreamjava.io.InputStreamA InputStream that represents data in Mbox format.
pstDataStreamjava.io.OutputStreamA java.io.OutputStream that represents data in Pst format.
optionsMboxToPstConversionOptionsAn MboxToPstConversionOptions additional options when converting from Mbox to PST

Returns: PersonalStorage -

mboxToPst(InputStream mboxrdDataStream, String pstFileName)

public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, String pstFileName)

Converts an Mbox storage to PST.

Parameters:

ParameterTypeDescription
mboxrdDataStreamjava.io.InputStreamA java.io.InputStream that represents data in Mbox format.
pstFileNamejava.lang.StringPST 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:

ParameterTypeDescription
mboxrdDataStreamjava.io.InputStreamA java.io.InputStream that represents data in Mbox format.
pstFileNamejava.lang.StringPST file name.
mailHandlerMailHandlerThe 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:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstDataStreamcom.aspose.ms.System.IO.StreamA 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:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstDataStreamcom.aspose.ms.System.IO.StreamA Stream that represents data in Pst format.
mailHandlerMailHandlerThe 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:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstDataStreamjava.io.OutputStreamA 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:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstDataStreamjava.io.OutputStreamA java.io.InputStream that represents data in Pst format.
mailHandlerMailHandlerThe 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:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstFileNamejava.lang.StringPST 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:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstFileNamejava.lang.StringPST file name.
mailHandlerMailHandlerThe 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, MboxToPstConversionOptions options)

public static PersonalStorage mboxToPst(String mboxFileName, String pstFileName, MboxToPstConversionOptions options)

Converts an Mbox storage to PST.

Parameters:

ParameterTypeDescription
mboxFileNamejava.lang.StringMbox file name.
pstFileNamejava.lang.StringPST file name.
optionsMboxToPstConversionOptionsAn MboxToPstConversionOptions additional options when converting from Mbox to PST

Returns: PersonalStorage -

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:

ParameterTypeDescription
valueEmlLoadOptions

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int