/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.protocol.jabber;
import net.java.sip.communicator.service.protocol.*;
/**
* A simple implementation of the Message interface. Right now the
* message only supports test contents and no binary data.
*
* @author Damian Minkov
* @author Lubomir Marinov
*/
public class MessageJabberImpl
extends AbstractMessage
{
/**
* Creates an instance of this Message with the specified parameters.
*
* @param content the text content of the message.
* @param contentType a MIME string indicating the content type of the
* content String.
* @param contentEncoding a MIME String indicating the content encoding of
* the content String.
* @param subject the subject of the message or null for empty.
*/
public MessageJabberImpl(String content, String contentType,
String contentEncoding, String subject)
{
super(content, contentType, contentEncoding, subject);
}
/**
* Creates an instance of this Message with the specified parameters.
*
* @param content the text content of the message.
* @param contentType a MIME string indicating the content type of the
* content String.
* @param contentEncoding a MIME String indicating the content encoding of
* the content String.
* @param subject the subject of the message or null for empty.
* @param
*/
public MessageJabberImpl(String content, String contentType,
String contentEncoding, String subject, String messageUID)
{
super(content, contentType, contentEncoding, subject, messageUID);
}
}