|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.email.EmailData
public class EmailData
Represents the attachment to an email.
Field Summary | |
---|---|
protected byte[] |
_data
The data representing the stored data |
Constructor Summary | |
---|---|
EmailData(byte[] data)
Constructor. |
Method Summary | |
---|---|
ContentHashReference |
buildContentHashReference(Id[] location,
byte[][] key)
This method dynamically builds an appropriate HashReference for this type of PostData given a location and key. |
SecureReference |
buildSecureReference(Id location,
byte[] key)
This method is not supported (you CAN NOT store an emaildata as a secure block). |
SignedReference |
buildSignedReference(Id location)
This method dynamically builds an appropriate SignedReference for this type of PostData given a location. |
boolean |
equals(java.lang.Object o)
Returns whether or not this EmailData is equal to the object |
byte[] |
getData()
Returns the data of this attachment |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient byte[] _data
Constructor Detail |
---|
public EmailData(byte[] data)
data
- The byte[] representationMethod Detail |
---|
public ContentHashReference buildContentHashReference(Id[] location, byte[][] key)
buildContentHashReference
in interface PostData
location
- the location of the datakey
- the key of the data
public SignedReference buildSignedReference(Id location)
buildSignedReference
in interface PostData
location
- the location of the data
java.lang.IllegalArgumentException
- Alwayspublic SecureReference buildSecureReference(Id location, byte[] key)
buildSecureReference
in interface PostData
location
- The location of the datakey
- The for the data
java.lang.IllegalArgumentException
- Alwayspublic byte[] getData()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |