|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.MboxStorageReader
com.aspose.email.MboxrdStorageReader
public final class MboxrdStorageReader
Represents mboxrd format storage reader, this format is being used by Thunderbird, Eudora OSE and other mail clients.
Constructor Summary | |
---|---|
MboxrdStorageReader(InputStream stream,
boolean leaveOpen)
|
|
MboxrdStorageReader(String fileName,
boolean leaveOpen)
Initializes a new instance of the MboxrdStorageReader class. |
Method Summary | |
---|---|
MailMessage |
readNextMessage()
Reads the next message from underlying storage stream. |
Methods inherited from class com.aspose.email.MboxStorageReader |
---|
dispose, getBaseStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |