org.dfdaemon.il2.core.console.parser
Class ChatCmdParser
java.lang.Object
org.dfdaemon.il2.core.console.parser.ChatCmdParser
- All Implemented Interfaces:
- CommandParser<NoReply,ChatCmd>
public class ChatCmdParser
- extends Object
- implements CommandParser<NoReply,ChatCmd>
- Author:
- aka50
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatCmdParser
public ChatCmdParser()
validate
public void validate(ChatCmd cmd)
throws IllegalArgumentException
- Specified by:
validate in interface CommandParser<NoReply,ChatCmd>
- Throws:
IllegalArgumentException
writeCommand
public void writeCommand(ChatCmd cmd,
Writer writer)
throws IOException
- Specified by:
writeCommand in interface CommandParser<NoReply,ChatCmd>
- Throws:
IOException
parseInput
public NoReply parseInput(ChatCmd cmd,
String[] lines)
- Specified by:
parseInput in interface CommandParser<NoReply,ChatCmd>
Copyright © 2007-2008. All Rights Reserved.