|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jackofalltrades.irc.util.CommandParser
Parses IRC commands and CTCP commands.
Method Summary | |
static CtcpCommand |
parseCtcpCommand(java.lang.String command)
Parses a string into a CtcpCommand . |
static IrcCommand |
parseIrcCommand(java.lang.String command)
Parses a string into an IrcCommand object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final IrcCommand parseIrcCommand(java.lang.String command)
IrcCommand
object.
command
- an IRC command as a String
.
IrcCommand
object, or
null
if the command is not of the proper format.public static final CtcpCommand parseCtcpCommand(java.lang.String command)
CtcpCommand
.
command
- the String
command from the server.
CtcpCommand
object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |