public abstract class AbstractMailbox extends Object implements Mailbox
Mailbox implementation which use a CombinedInputStream over Mailbox.getMessageHeaders(long) and Mailbox.getMessageBody(long) to return the full message.| Constructor and Description |
|---|
AbstractMailbox() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Does nothing
|
InputStream |
getMessage(long uid)
Return the full message (headers + body) as
InputStream or
null if no message can be found for the given
uid |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdentifier, getMessageBody, getMessageHeaders, getMessages, removepublic InputStream getMessage(long uid) throws IOException
MailboxInputStream or
null if no message can be found for the given
uidgetMessage in interface MailboxIOExceptionpublic void close()
throws IOException
close in interface MailboxIOExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.