public final class MboxrdStorageReader extends MboxStorageReader
Represents mboxrd format storage reader, this format is being used by Thunderbird, Eudora OSE and other mail clients.
Constructor and Description |
---|
MboxrdStorageReader(InputStream stream,
boolean leaveOpen) |
MboxrdStorageReader(String fileName,
boolean leaveOpen)
Initializes a new instance of the
MboxrdStorageReader class. |
Modifier and Type | Method and Description |
---|---|
MailMessage |
readNextMessage()
Reads the next message from underlying storage stream.
|
dispose, getBaseStream
public MboxrdStorageReader(InputStream stream, boolean leaveOpen)
public MboxrdStorageReader(String fileName, boolean leaveOpen)
Initializes a new instance of the MboxrdStorageReader
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 MailMessage readNextMessage()
Reads the next message from underlying storage stream.
readNextMessage
in class MboxStorageReader
MailMessage
object if it can be read or null if no more messages are available.Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.