MailboxConverter
Contents
[
Hide
]Inheritance: java.lang.Object
public class MailboxConverter
Provides mailbox conversion routines.
Constructors
Constructor | Description |
---|---|
MailboxConverter() |
Methods
MailboxConverter()
public MailboxConverter()
convertPersonalStorageToMbox(PersonalStorage personalStorage, MboxStorageWriter mboxStorageWriter, MessageAcceptanceCallback acceptanceCallback)
public static void convertPersonalStorageToMbox(PersonalStorage personalStorage, MboxStorageWriter mboxStorageWriter, MessageAcceptanceCallback acceptanceCallback)
Converts the PersonalStorage to mbox format using given MboxStorageWriter.
Parameters:
Parameter | Type | Description |
---|---|---|
personalStorage | PersonalStorage | The personal storage. |
mboxStorageWriter | MboxStorageWriter | The mbox storage writer. |
acceptanceCallback | MessageAcceptanceCallback | The acceptance callback, can be null. |
Resulting mbox storage will contain only one plain inbox folder with all messages, if you have to preserve the original structure of the storage, use XXX_method instead. |
convertPersonalStorageToMbox(PersonalStorage personalStorage, String storagePath, MessageAcceptanceCallback acceptanceCallback)
public static void convertPersonalStorageToMbox(PersonalStorage personalStorage, String storagePath, MessageAcceptanceCallback acceptanceCallback)
Converts the PersonalStorage to mbox format using given path.
Parameters:
Parameter | Type | Description |
---|---|---|
personalStorage | PersonalStorage | The personal storage. |
storagePath | java.lang.String | The path to save personalStorage structure to. |
acceptanceCallback | MessageAcceptanceCallback | The acceptance callback, can be null. |
Resulting folder will contain an exact copy of the personalStorage e.g. directory tree will be recreated on disk. |
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
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
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 |