|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.network.MboxStorageReader
public abstract class MboxStorageReader
A base class for any mbox-based mail storage reader.
Constructor Summary | |
---|---|
MboxStorageReader(InputStream stream,
boolean leaveOpen)
Initializes a new instance of the MboxStorageReader class. |
Method Summary | |
---|---|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
com.aspose.ms.System.IO.Stream |
getBaseStream()
Gets the base stream. |
abstract MailMessage |
readNextMessage()
Reads the next message from underlying storage stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MboxStorageReader(InputStream stream, boolean leaveOpen)
Initializes a new instance of the MboxStorageReader
class.
stream
- The stream.leaveOpen
- if set to true
leaves the underlying stream open after disposing.
ArgumentNullException
- If given stream is null.Method Detail |
---|
public com.aspose.ms.System.IO.Stream getBaseStream()
Gets the base stream.
Value: The base stream.
public abstract MailMessage readNextMessage()
Reads the next message from underlying storage stream.
MailMessage
object if it can be read or null
if no more messages are available.public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |