|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.MboxStorageWriter
com.aspose.email.MboxrdStorageWriter
public final class MboxrdStorageWriter
Represents mboxrd format storage writer, this format is being used by Thunderbird and other mail clients.
Constructor Summary | |
---|---|
MboxrdStorageWriter(OutputStream stream,
boolean leaveOpen)
|
|
MboxrdStorageWriter(String fileName)
|
|
MboxrdStorageWriter(String fileName,
boolean leaveOpen)
Initializes a new instance of the MboxrdStorageWriter class. |
Method Summary | |
---|---|
void |
writeMessage(MailMessage message)
Writes the message to underlying storage stream. |
Methods inherited from class com.aspose.email.MboxStorageWriter |
---|
dispose, flush, getBaseStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MboxrdStorageWriter(OutputStream stream, boolean leaveOpen)
public MboxrdStorageWriter(String fileName, boolean leaveOpen)
Initializes a new instance of the MboxrdStorageWriter
class.
fileName
- Name of the file.leaveOpen
- if set to true
leaves the underlying stream open after disposing.
IllegalArgumentException
- If filename is null or empty.public MboxrdStorageWriter(String fileName)
Method Detail |
---|
public void writeMessage(MailMessage message)
Writes the message to underlying storage stream.
writeMessage
in class MboxStorageWriter
message
- The message to write to.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |