public class IMMessage
extends java.lang.Object
Constructor and Description |
---|
IMMessage(IMUser sender,
IMUser receiver,
java.lang.String message,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormatedMessage() |
static java.lang.String |
getFormatedMessage(java.lang.String senderDisplayName,
java.lang.String message) |
java.lang.String |
getMessage() |
IMUser |
getReceiver() |
IMUser |
getSender() |
long |
getTimestamp() |
java.lang.String |
toString() |
public java.lang.String getMessage()
public IMUser getReceiver()
public IMUser getSender()
public long getTimestamp()
public java.lang.String getFormatedMessage()
public static java.lang.String getFormatedMessage(java.lang.String senderDisplayName, java.lang.String message)
public java.lang.String toString()
toString
in class java.lang.Object