Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber
Class MessageJabberImpl

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.AbstractMessage
      extended by net.java.sip.communicator.impl.protocol.jabber.MessageJabberImpl
All Implemented Interfaces:
Message

public class MessageJabberImpl
extends AbstractMessage

A simple implementation of the Message interface. Right now the message only supports test contents and no binary data.

Author:
Damian Minkov, Lubomir Marinov

Constructor Summary
MessageJabberImpl(String content, String contentType, String contentEncoding, String subject)
          Creates an instance of this Message with the specified parameters.
 
Method Summary
 
Methods inherited from class net.java.sip.communicator.service.protocol.AbstractMessage
createMessageUID, getContent, getContentType, getEncoding, getMessageUID, getRawData, getSize, getSubject, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageJabberImpl

public MessageJabberImpl(String content,
                         String contentType,
                         String contentEncoding,
                         String subject)
Creates an instance of this Message with the specified parameters.

Parameters:
content - the text content of the message.
contentType - a MIME string indicating the content type of the content String.
contentEncoding - a MIME String indicating the content encoding of the content String.
subject - the subject of the message or null for empty.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.