|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
a message body part
| Method Summary | |
byte[] |
getBytes(java.lang.String encoding)
return the content of this message part in bytes |
java.lang.String |
getContent()
return the content of this message part |
java.lang.String |
getContent(java.lang.String contentType)
return the content of this message part |
java.lang.String |
getContentEncoding()
returns the value of the Content-Encoding: header/property |
java.lang.String |
getContentID()
returns the value of the Content-ID: header/property |
java.lang.String |
getContentName()
returns the value of the Content-ID: header/property |
java.lang.String |
getContentType()
returns the value of the Content-type header for this part |
java.io.InputStream |
getInputStream()
return a input stream set to the beginning of the content of this message part. |
int |
getSize()
returns the size of this message part in bytes. |
| Method Detail |
public int getSize()
throws CollaborationException
CollaborationExceptionpublic java.lang.String getContentID()
public java.lang.String getContentEncoding()
public java.lang.String getContentName()
public java.io.InputStream getInputStream()
throws CollaborationException
CollaborationException
public java.lang.String getContent()
throws CollaborationException
CollaborationException
public byte[] getBytes(java.lang.String encoding)
throws CollaborationException
CollaborationException
public java.lang.String getContent(java.lang.String contentType)
throws CollaborationException
contentType - - contentType of the message
CollaborationExceptionpublic java.lang.String getContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||