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