public class SimpleMessageAttributes extends Object implements MailMessageAttributes
Note that the message in a mailbox have the same order using either Message Sequence Numbers or UIDs.
reinitialize() must be called on deserialization to reset Logger
Reference: RFC 2060 - para 2.3 https://www.ietf.org/rfc/rfc2060.txt| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
MailMessageAttributes[] |
parts |
| Modifier and Type | Method and Description |
|---|---|
String |
getBodyStructure(boolean includeExtensions)
Provides the Body Structure information for this message.
|
String |
getEnvelope()
Provides the Envelope structure information for this message.
|
int |
getMessageSequenceNumber()
Provides the current Message Sequence Number for this message.
|
Date |
getReceivedDate()
Provides the date and time at which the message was received.
|
String |
getReceivedDateAsString()
Returns IMAP formatted String representation of Date
|
int |
getSize()
Provides the sizeof the message in octets.
|
int |
getUID()
Provides the unique identity value for this message.
|
protected final org.slf4j.Logger log
public MailMessageAttributes[] parts
public int getMessageSequenceNumber()
public int getUID()
public Date getReceivedDate()
MailMessageAttributesgetReceivedDate in interface MailMessageAttributespublic String getReceivedDateAsString()
MailMessageAttributesgetReceivedDateAsString in interface MailMessageAttributespublic int getSize()
MailMessageAttributesgetSize in interface MailMessageAttributespublic String getEnvelope()
MailMessageAttributesgetEnvelope in interface MailMessageAttributespublic String getBodyStructure(boolean includeExtensions)
MailMessageAttributesgetBodyStructure in interface MailMessageAttributesCopyright © 2006–2017 Icegreen Technologies. All rights reserved.