|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.chat.business.ChatEntry
public class ChatEntry
This class represents an entry in the chat.
| Field Summary | |
|---|---|
static int |
TYPE_MESSAGE
|
static int |
TYPE_NOTIFICATION
|
| Constructor Summary | |
|---|---|
ChatEntry(java.lang.String strChatMessage)
Creates a new ChatEntry object. |
|
ChatEntry(java.lang.String strNickname,
java.lang.String strChatMessage)
Creates a new ChatEntry object. |
|
ChatEntry(java.lang.String strNickname,
java.lang.String strChatMessage,
int nEntryType)
Creates a new ChatEntry object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getChatMessage()
Returns the message of this Chat entry |
java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_MESSAGE
public static final int TYPE_NOTIFICATION
| Constructor Detail |
|---|
public ChatEntry(java.lang.String strNickname,
java.lang.String strChatMessage,
int nEntryType)
strNickname - The nick name of the userstrChatMessage - The messagenEntryType - The type of entry
public ChatEntry(java.lang.String strNickname,
java.lang.String strChatMessage)
strNickname - The nick name of the userstrChatMessage - The messagepublic ChatEntry(java.lang.String strChatMessage)
strChatMessage - The message| Method Detail |
|---|
public java.lang.String getNickname()
public java.lang.String getChatMessage()
public int getType()
public long getTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||