Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.rss
Class MessageRssImpl

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

public class MessageRssImpl
extends AbstractMessage

Very simple message implementation for the Rss protocol.

Author:
Emil Ivov, Lubomir Marinov

Constructor Summary
MessageRssImpl(String content, String contentType, String contentEncoding, String subject)
          Creates a message instance according to 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

MessageRssImpl

public MessageRssImpl(String content,
                      String contentType,
                      String contentEncoding,
                      String subject)
Creates a message instance according to the specified parameters.

Parameters:
content - the message body
contentType - message content type or null for text/plain
contentEncoding - message encoding or null for UTF8
subject - the subject of the message or null for no subject.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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