1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* 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 <tt>Message</tt> 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
* <tt>content</tt> String.
* @param contentEncoding a MIME String indicating the content encoding of
* the <tt>content</tt> 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
* <tt>content</tt> String.
* @param contentEncoding a MIME String indicating the content encoding of
* the <tt>content</tt> 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);
}
}
|