|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.email.EmailContentPart
rice.email.EmailMultiPart
public class EmailMultiPart
Represents the content of an email which is a multi-part entry
| Field Summary | |
|---|---|
EmailHeadersPart[] |
content
The actual content of this email part |
java.lang.String |
type
The string used to seperate the parts of this multipart |
| Fields inherited from class rice.email.EmailContentPart |
|---|
size, storage |
| Constructor Summary | |
|---|---|
EmailMultiPart(EmailHeadersPart[] content,
java.lang.String type)
Constructor which takes in an Emailpart list |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns whether or not this EmailPart is equal to the object |
void |
getContent(Continuation command)
Method which retrieves and returns this content's EmailData |
void |
getContentHashReferences(java.util.Set set)
This method returns a list of all the handles stored in this part by adding them to the specified set. |
java.lang.String |
getType()
Returns the seperator used for this multipart |
int |
hashCode()
Returns the hashCode |
void |
setStorage(StorageService storage)
Method which sets this part's storage service |
void |
storeData(Continuation command)
Method which writes this part's content out to disk and retrieves a reference to it. |
| Methods inherited from class rice.email.EmailContentPart |
|---|
getSize, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String type
public EmailHeadersPart[] content
| Constructor Detail |
|---|
public EmailMultiPart(EmailHeadersPart[] content,
java.lang.String type)
| Method Detail |
|---|
public java.lang.String getType()
public void getContentHashReferences(java.util.Set set)
getContentHashReferences in class EmailContentPart
set - The set to add the PastContentHandles to.public void setStorage(StorageService storage)
setStorage in class EmailContentPart
storage - The local storage servicepublic void storeData(Continuation command)
storeData in class EmailContentPart
command - The command to run once the data has been stored, and
is returned the success or failure of this commandpublic void getContent(Continuation command)
getContent in class EmailContentPart
command - The command to run once the data is availablepublic int hashCode()
hashCode in class EmailContentPart
public boolean equals(java.lang.Object o)
equals in class EmailContentPart
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||