|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.AbstractMessage
net.java.sip.communicator.impl.protocol.irc.MessageIrcImpl
public class MessageIrcImpl
Very simple message implementation for the IRC protocol.
| Field Summary | |
|---|---|
static String |
DEFAULT_MIME_ENCODING
Default encoding for outgoing messages. |
static String |
DEFAULT_MIME_TYPE
Default mime type for outgoing messages. |
| Constructor Summary | |
|---|---|
MessageIrcImpl(String content,
String contentType,
String contentEncoding,
String subject)
Creates a message instance according to the specified parameters. |
|
| Method Summary | |
|---|---|
boolean |
isAction()
Checks if this message is an action. |
boolean |
isCommand()
Checks if this message is a command. |
protected void |
setContent(String messageContent)
Sets the content to this Message. |
| Methods inherited from class net.java.sip.communicator.service.protocol.AbstractMessage |
|---|
createMessageUID, getContent, getContentType, getEncoding, getMessageUID, getRawData, getSize, getSubject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_MIME_ENCODING
public static final String DEFAULT_MIME_TYPE
| Constructor Detail |
|---|
public MessageIrcImpl(String content,
String contentType,
String contentEncoding,
String subject)
content - the message bodycontentType - message content type or null for text/plaincontentEncoding - message encoding or null for UTF8subject - the subject of the message or null for no subject.| Method Detail |
|---|
public boolean isCommand()
public boolean isAction()
protected void setContent(String messageContent)
setContent in class AbstractMessagemessageContent - the new message content
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||