org.dfdaemon.il2.core.console.parser
Class PlayerStatCmdParser

java.lang.Object
  extended by 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

Constructor Summary
PlayerStatCmdParser()
           
 
Method Summary
 List<PlayerStat> parseInput(PlayerStatCmd cmd, String[] lines)
           
 void validate(PlayerStatCmd cmd)
           
 void writeCommand(PlayerStatCmd cmd, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerStatCmdParser

public PlayerStatCmdParser()
Method Detail

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.