public class MailStorageConverter extends Object
Mail storage converter provides services for storage conversion operations.
Modifier and Type | Class and Description |
---|---|
static class |
MailStorageConverter.MailHandler |
Constructor and Description |
---|
MailStorageConverter() |
Modifier and Type | Method and Description |
---|---|
static PersonalStorage |
mboxToPst(InputStream mboxrdDataStream,
String pstFileName)
Converts an mboxrd message store to PST.
|
static PersonalStorage |
mboxToPst(InputStream mboxrdDataStream,
String pstFileName,
MailStorageConverter.MailHandler mailHandler)
Converts an mboxrd message store to PST.
|
static PersonalStorage |
mboxToPst(String mboxFileName,
String pstFileName)
Converts an mboxrd message store to PST.
|
static PersonalStorage |
mboxToPst(String mboxFileName,
String pstFileName,
MailStorageConverter.MailHandler mailHandler)
Converts an mboxrd message store to PST.
|
public static PersonalStorage mboxToPst(String mboxFileName, String pstFileName)
Converts an mboxrd message store to PST.
mboxFileName
- Name of the mbox file.pstFileName
- Name of the PST file.
FileStream
creation using the open/read, create/write mode.
com.aspose.ms.System.ArgumentNullException
- If mboxFileName
is null.public static PersonalStorage mboxToPst(String mboxFileName, String pstFileName, MailStorageConverter.MailHandler mailHandler)
Converts an mboxrd message store to PST.
mboxFileName
- Name of the mbox file.pstFileName
- Name of the PST file.mailHandler
- The delegate called on each message
FileStream
creation using the open/read, create/write mode.
com.aspose.ms.System.ArgumentNullException
- If mboxFileName
is null.public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, String pstFileName)
Converts an mboxrd message store to PST.
mboxrdDataStream
- The mboxrd data stream.pstFileName
- Name of the PST file.com.aspose.ms.System.ArgumentNullException
- If mboxrdDataStream
is null.com.aspose.ms.System.ArgumentNullException
- If pstFileName
is null or empty.public static PersonalStorage mboxToPst(InputStream mboxrdDataStream, String pstFileName, MailStorageConverter.MailHandler mailHandler)
Converts an mboxrd message store to PST.
mboxrdDataStream
- The mboxrd data stream.pstFileName
- Name of the PST file.mailHandler
- The delegate called on each messagecom.aspose.ms.System.ArgumentNullException
- If mboxrdDataStream
is null.com.aspose.ms.System.ArgumentNullException
- If pstFileName
is null or empty.