|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
java.lang.String |
getAuthor()
The name of the author of this message (not his email address). |
java.io.InputStream |
getInputStreamWithHeaders()
Gets the input stream for the message, in RFC822 format: a bunch of headers, and then a blank line, and then the message itself. |
java.lang.Object |
getMessageID()
A unique object representing the message-id for this message. |
java.lang.String |
getRecipient()
The name of the recipient of this message (not his email address). |
boolean |
isDeleted()
|
boolean |
isFlagged()
|
boolean |
isForwarded()
|
boolean |
isRead()
|
boolean |
isReplied()
|
java.lang.Object[] |
messageThreadReferences()
A list of the above messageid objects that this message has references to. |
void |
setDeleted(boolean value)
|
void |
setFlagged(boolean value)
|
void |
setForwarded(boolean value)
|
void |
setIsRead(boolean value)
|
void |
setReplied(boolean value)
|
java.lang.String |
simplifiedDate()
A short rendition of the sent date. |
java.lang.String |
simplifiedSubject()
The subject, minus any "Re:" part. |
boolean |
subjectIsReply()
Whether the subject has a "Re:" part." |
Method Detail |
public java.lang.String getAuthor() throws javax.mail.MessagingException
public java.lang.String getRecipient() throws javax.mail.MessagingException
public java.lang.String simplifiedSubject() throws javax.mail.MessagingException
public boolean subjectIsReply() throws javax.mail.MessagingException
public java.lang.String simplifiedDate() throws javax.mail.MessagingException
public java.lang.Object getMessageID() throws javax.mail.MessagingException
public java.lang.Object[] messageThreadReferences() throws javax.mail.MessagingException
public boolean isRead() throws javax.mail.MessagingException
public void setIsRead(boolean value) throws javax.mail.MessagingException
public boolean isReplied() throws javax.mail.MessagingException
public void setReplied(boolean value) throws javax.mail.MessagingException
public boolean isForwarded() throws javax.mail.MessagingException
public void setForwarded(boolean value) throws javax.mail.MessagingException
public boolean isFlagged() throws javax.mail.MessagingException
public void setFlagged(boolean value) throws javax.mail.MessagingException
public boolean isDeleted() throws javax.mail.MessagingException
public void setDeleted(boolean value) throws javax.mail.MessagingException
public java.io.InputStream getInputStreamWithHeaders() throws javax.mail.MessagingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |