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.txtModifier 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()
MailMessageAttributes
getReceivedDate
in interface MailMessageAttributes
public String getReceivedDateAsString()
MailMessageAttributes
getReceivedDateAsString
in interface MailMessageAttributes
public int getSize()
MailMessageAttributes
getSize
in interface MailMessageAttributes
public String getEnvelope()
MailMessageAttributes
getEnvelope
in interface MailMessageAttributes
public String getBodyStructure(boolean includeExtensions)
MailMessageAttributes
getBodyStructure
in interface MailMessageAttributes
Copyright © 2006–2018 Icegreen Technologies. All rights reserved.