MailStorageConverter
Inheritance: java.lang.Object
public class MailStorageConverter
Mail storage converter provides services for storage conversion operations.
Constructors
Constructor | Description |
---|---|
MailStorageConverter() |
Methods
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(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:
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. |
options | MboxToPstConversionOptions | An 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:
Parameter | Type | Description |
---|---|---|
mboxrdDataStream | com.aspose.ms.System.IO.Stream | |
pstDataStream | com.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:
Parameter | Type | Description |
---|---|---|
mboxrdDataStream | com.aspose.ms.System.IO.Stream | |
pstDataStream | com.aspose.ms.System.IO.Stream | |
mailHandler | MailHandler |
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:
Parameter | Type | Description |
---|---|---|
mboxrdDataStream | com.aspose.ms.System.IO.Stream | |
pstDataStream | com.aspose.ms.System.IO.Stream | |
options | MboxToPstConversionOptions |
Returns: PersonalStorage
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, OutputStream pstDataStream, MboxToPstConversionOptions options)
public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, OutputStream pstDataStream, MboxToPstConversionOptions options)
Converts an Mbox storage to PST.
Parameters:
Parameter | Type | Description |
---|---|---|
mboxrdDataStream | java.io.InputStream | A InputStream that represents data in Mbox format. |
pstDataStream | java.io.OutputStream | A java.io.OutputStream that represents data in Pst format. |
options | MboxToPstConversionOptions | An 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:
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.
mboxToPst(String mboxFileName, String pstFileName, MboxToPstConversionOptions options)
public static PersonalStorage mboxToPst(String mboxFileName, String pstFileName, MboxToPstConversionOptions options)
Converts an Mbox storage to PST.
Parameters:
Parameter | Type | Description |
---|---|---|
mboxFileName | java.lang.String | Mbox file name. |
pstFileName | java.lang.String | PST file name. |
options | MboxToPstConversionOptions | An 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:
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 |