public abstract class AbstractMessage extends AbstractEntity implements Message
Message.Builder| Constructor and Description |
|---|
AbstractMessage() |
| Modifier and Type | Method and Description |
|---|---|
private AddressList |
getAddressList(java.lang.String fieldName) |
AddressList |
getBcc()
Returns the value of the Bcc header field of this message as
AddressList object or null if it is not
present. |
AddressList |
getCc()
Returns the value of the Cc header field of this message as
AddressList object or null if it is not
present. |
java.util.Date |
getDate()
Returns the value of the Date header field of this message as
Date object or null if it is not present. |
MailboxList |
getFrom()
Returns the value of the From header field of this message as
MailboxList object or null if it is not
present. |
private Mailbox |
getMailbox(java.lang.String fieldName) |
private MailboxList |
getMailboxList(java.lang.String fieldName) |
java.lang.String |
getMessageId()
Returns the value of the Message-ID header field of this message
or
null if it is not present. |
AddressList |
getReplyTo()
Returns the value of the Reply-To header field of this message as
AddressList object or null if it is not
present. |
Mailbox |
getSender()
Returns the value of the Sender header field of this message as
Mailbox object or null if it is not
present. |
java.lang.String |
getSubject()
Returns the (decoded) value of the Subject header field of this
message or
null if it is not present. |
AddressList |
getTo()
Returns the value of the To header field of this message as
AddressList object or null if it is not
present. |
calcCharset, calcMimeType, calcTransferEncoding, dispose, getBody, getCharset, getContentTransferEncoding, getDispositionType, getFilename, getHeader, getMimeType, getParent, isMultipart, obtainField, obtainHeader, removeBody, setBody, setHeader, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBody, getCharset, getContentTransferEncoding, getDispositionType, getFilename, getHeader, getMimeType, getParent, isMultipart, removeBody, setBody, setHeader, setParentdisposepublic java.lang.String getMessageId()
null if it is not present.getMessageId in interface Messagepublic java.lang.String getSubject()
null if it is not present.getSubject in interface Messagepublic java.util.Date getDate()
Date object or null if it is not present.public Mailbox getSender()
Mailbox object or null if it is not
present.public MailboxList getFrom()
MailboxList object or null if it is not
present.public AddressList getTo()
AddressList object or null if it is not
present.public AddressList getCc()
AddressList object or null if it is not
present.public AddressList getBcc()
AddressList object or null if it is not
present.public AddressList getReplyTo()
AddressList object or null if it is not
present.getReplyTo in interface Messageprivate Mailbox getMailbox(java.lang.String fieldName)
private MailboxList getMailboxList(java.lang.String fieldName)
private AddressList getAddressList(java.lang.String fieldName)