|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
Used to access the content of instant messages that are sent or received via the instant messaging operation set.
This class provides easy access to the content and key fields of an instant Message. Content types are represented using MIME types. [IETF RFC 2045-2048].
Messages are created through the OperationSetBaicInstanceMessaging operation set.
All messages have message ids that allow the underlying implementation to notify the user of their successful delivery.
| Method Summary | |
|---|---|
String |
getContent()
Returns the content of this message if representable in text form or null if this message does not contain text data. |
String |
getContentType()
Returns the MIME type for the message content. |
String |
getEncoding()
Returns the MIME content encoding of this message. |
String |
getMessageUID()
Returns a unique identifier of this message. |
byte[] |
getRawData()
Get the raw/binary content of an instant message. |
int |
getSize()
Returns the size of the content stored in this message. |
String |
getSubject()
Returns the subject of this message or null if the message contains no subject. |
| Method Detail |
|---|
String getContent()
String getContentType()
byte[] getRawData()
String getEncoding()
String getSubject()
int getSize()
String getMessageUID()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||