|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.hedwig.core.Envelope
| Constructor Summary | |
Envelope()
|
|
| Method Summary | |
void |
addHeader(java.lang.String name,
java.lang.String value)
|
java.lang.String |
getAttribute(java.lang.String name)
|
java.util.Map |
getAttributes()
Returns the headers. |
Attribute |
getDate()
|
java.util.Date |
getDateReceived()
Returns the dateReceived. |
Attribute |
getFrom()
|
java.util.List |
getParts()
Returns the parts. |
boolean |
isViewed()
Returns the unread. |
void |
setDate(Attribute date)
|
void |
setDateReceived(java.util.Date dateReceived)
Sets the dateReceived. |
void |
setFrom(Attribute hdr)
|
void |
setViewed(boolean unread)
Sets the unread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Envelope()
| Method Detail |
public java.util.Map getAttributes()
public java.util.List getParts()
public java.lang.String getAttribute(java.lang.String name)
public void addHeader(java.lang.String name,
java.lang.String value)
public java.util.Date getDateReceived()
public boolean isViewed()
public void setDateReceived(java.util.Date dateReceived)
dateReceived - The dateReceived to setpublic void setViewed(boolean unread)
unread - The unread to setpublic Attribute getFrom()
public void setFrom(Attribute hdr)
public Attribute getDate()
public void setDate(Attribute date)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||