public interface Message
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.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Returns the content of this message if representable in text form or null
if this message does not contain text data.
|
java.lang.String |
getContentType()
Returns the MIME type for the message content.
|
java.lang.String |
getEncoding()
Returns the MIME content encoding of this message.
|
java.lang.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.
|
java.lang.String |
getSubject()
Returns the subject of this message or null if the message contains no
subject.
|
java.lang.String getContent()
java.lang.String getContentType()
byte[] getRawData()
java.lang.String getEncoding()
java.lang.String getSubject()
int getSize()
java.lang.String getMessageUID()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.