public class ChatEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_MESSAGE |
static int |
TYPE_NOTIFICATION |
| Constructor and Description |
|---|
ChatEntry(String strChatMessage)
Creates a new ChatEntry object.
|
ChatEntry(String strNickname,
String strChatMessage)
Creates a new ChatEntry object.
|
ChatEntry(String strNickname,
String strChatMessage,
int nEntryType)
Creates a new ChatEntry object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChatMessage()
Returns the message of this Chat entry
|
String |
getNickname()
Returns the nick name of this chat entry
|
long |
getTime()
Returns the date of this chat entry
|
int |
getType()
Returns the type of this chat entry
|
public static final int TYPE_MESSAGE
public static final int TYPE_NOTIFICATION
public ChatEntry(String strNickname, String strChatMessage, int nEntryType)
strNickname - The nick name of the userstrChatMessage - The messagenEntryType - The type of entrypublic ChatEntry(String strNickname, String strChatMessage)
strNickname - The nick name of the userstrChatMessage - The messagepublic ChatEntry(String strChatMessage)
strChatMessage - The messagepublic String getNickname()
public String getChatMessage()
public int getType()
public long getTime()
Copyright © 2018 City of Paris. All rights reserved.