|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.james.imapserver.SimpleMessageAttributes
Attributes of a Message in IMAP4rev1 style. Message Attributes should be set when a message enters a mailbox.
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
Method Summary | |
java.lang.String |
getBodyStructure()
Provides the Body Structure information for this message. |
java.lang.String |
getEnvelope()
Provides the Envelope structure information for this message. |
java.util.Date |
getInternalDate()
Provides the date and time at which the message was received. |
java.lang.String |
getInternalDateAsString()
Returns IMAP formatted String representation of Date |
int |
getMessageSequenceNumber()
Provides the current Message Sequence Number for this message. |
int |
getSize()
Provides the sizeof the message in octets. |
int |
getUID()
Provides the unique identity value for this message. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getMessageSequenceNumber()
getMessageSequenceNumber
in interface MessageAttributes
public int getUID()
getUID
in interface MessageAttributes
public java.util.Date getInternalDate()
getInternalDate
in interface MessageAttributes
public java.lang.String getInternalDateAsString()
MessageAttributes
getInternalDateAsString
in interface MessageAttributes
public int getSize()
getSize
in interface MessageAttributes
public java.lang.String getEnvelope()
getEnvelope
in interface MessageAttributes
public java.lang.String getBodyStructure()
getBodyStructure
in interface MessageAttributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |