|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.email.StoredEmail
public class StoredEmail
Represents the notion of a stored email: it contains the metadata (int UID and date), the email and the Flags.
Field Summary | |
---|---|
protected Email |
_email
The internal email |
protected Flags |
_flags
The current flags of this email |
protected int |
_uid
The forever-unique identifier for this stored email |
protected long |
internaldate
The internaldate of this email, or when it was appended to the folder |
Constructor Summary | |
---|---|
StoredEmail(Email email,
int uid,
Flags flags,
long internaldate)
Constructs a stored email |
|
StoredEmail(StoredEmail other,
int uid)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object o)
DESCRIBE THE METHOD |
boolean |
equals(java.lang.Object o)
DESCRIBE THE METHOD |
Email |
getEmail()
Return the email |
Flags |
getFlags()
Return the flags for the email |
long |
getInternalDate()
Return the internaldate for the current email |
int |
getUID()
Return the UID for the current email |
int |
hashCode()
Returns the hashcode of this storedemail |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Email _email
protected int _uid
protected Flags _flags
protected long internaldate
Constructor Detail |
---|
public StoredEmail(Email email, int uid, Flags flags, long internaldate)
email
- The email we are dealing with.uid
- The unique UID for the email.flags
- The flags on the email.public StoredEmail(StoredEmail other, int uid)
Method Detail |
---|
public int getUID()
public long getInternalDate()
public Flags getFlags()
public Email getEmail()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- DESCRIBE THE PARAMETER
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- DESCRIBE THE PARAMETER
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |