All Packages This Package Class Hierarchy Class Search Index
Interface grendel.storage.MessageExtra
These are extra interfaces that our message objects implement that are not implemented as part of the standard Message class. If you want to call any of these, and you just have a base Message object, use MessageExtraFactory to find or create the MessageExtra object for you.
public interface MessageExtra { // Methods 18 public abstract String getAuthor() throws MessagingException; public abstract InputStream getInputStreamWithHeaders() throws MessagingException; public abstract Object getMessageID() throws MessagingException; public abstract String getRecipient() throws MessagingException; public abstract boolean isDeleted() throws MessagingException; public abstract boolean isFlagged() throws MessagingException; public abstract boolean isForwarded() throws MessagingException; public abstract boolean isRead() throws MessagingException; public abstract boolean isReplied() throws MessagingException; public abstract Object[] messageThreadReferences() throws MessagingException; public abstract void setDeleted(boolean) throws MessagingException; public abstract void setFlagged(boolean) throws MessagingException; public abstract void setForwarded(boolean) throws MessagingException; public abstract void setIsRead(boolean) throws MessagingException; public abstract void setReplied(boolean) throws MessagingException; public abstract String simplifiedDate() throws MessagingException; public abstract String simplifiedSubject() throws MessagingException; public abstract boolean subjectIsReply() throws MessagingException; }
Methods
getAuthor
public abstract String getAuthor() throws MessagingException
The name of the author of this message (not his email address).
getRecipient
public abstract String getRecipient() throws MessagingException
The name of the recipient of this message (not his email address).
simplifiedSubject
public abstract String simplifiedSubject() throws MessagingException
The subject, minus any "Re:" part.
subjectIsReply
public abstract boolean subjectIsReply() throws MessagingException
Whether the subject has a "Re:" part."
simplifiedDate
public abstract String simplifiedDate() throws MessagingException
A short rendition of the sent date.
getMessageID
public abstract Object getMessageID() throws MessagingException
A unique object representing the message-id for this message.
messageThreadReferences
public abstract Object[] messageThreadReferences() throws MessagingException
A list of the above messageid objects that this message has references to.
isRead
public abstract boolean isRead() throws MessagingException
setIsRead
public abstract void setIsRead(boolean value) throws MessagingException
isReplied
public abstract boolean isReplied() throws MessagingException
setReplied
public abstract void setReplied(boolean value) throws MessagingException
isForwarded
public abstract boolean isForwarded() throws MessagingException
setForwarded
public abstract void setForwarded(boolean value) throws MessagingException
isFlagged
public abstract boolean isFlagged() throws MessagingException
setFlagged
public abstract void setFlagged(boolean value) throws MessagingException
isDeleted
public abstract boolean isDeleted() throws MessagingException
setDeleted
public abstract void setDeleted(boolean value) throws MessagingException
getInputStreamWithHeaders
public abstract InputStream getInputStreamWithHeaders() throws MessagingException
Gets the input stream for the message, in RFC822 format: a bunch of headers, and then a blank line, and then the message itself.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4