net.java.sip.communicator.impl.protocol.ssh
Class MessageSSHImpl
java.lang.Object
net.java.sip.communicator.service.protocol.AbstractMessage
net.java.sip.communicator.impl.protocol.ssh.MessageSSHImpl
- All Implemented Interfaces:
- Message
public class MessageSSHImpl
- extends AbstractMessage
Very simple message implementation for the SSH protocol.
- Author:
- Shobhit Jindal, Lubomir Marinov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
public static String contentType
- The content type of the message.
MessageSSHImpl
public MessageSSHImpl(String content,
String contentType,
String contentEncoding,
String subject)
- Creates a message instance according to the specified parameters.
- Parameters:
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.
getContentType
public String getContentType()
- Returns the type of the content of this message.
- Specified by:
getContentType in interface Message- Overrides:
getContentType in class AbstractMessage
- Returns:
- the type of the content of this message.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.