|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMessageParser
public class MessageParser
Parses messages
Constructor Summary | |
---|---|
MessageParser()
|
Method Summary | |
---|---|
static java.lang.String |
getMsg(java.lang.String s)
Gets the part of a string after the first '_' Use to get the message |
static int |
getTag(java.lang.String s)
Gets the tag of a message by splitting it by the '_' character |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageParser()
Method Detail |
---|
public static int getTag(java.lang.String s)
s
- The tagID and the message
public static java.lang.String getMsg(java.lang.String s)
s
- The message and the tagID
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |