Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.icq
Class MessageIcqImpl

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

public class MessageIcqImpl
extends AbstractMessage

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

Author:
Emil Ivov, Lubomir Marinov

Constructor Summary
MessageIcqImpl(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

MessageIcqImpl

public MessageIcqImpl(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.