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

java.lang.Object
  extended by org.dfdaemon.il2.core.console.parser.PlayerInfoCmdParser
All Implemented Interfaces:
CommandParser<List<PlayerInfo>,PlayerInfoCmd>

public class PlayerInfoCmdParser
extends Object
implements CommandParser<List<PlayerInfo>,PlayerInfoCmd>

Author:
aka50

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

Constructor Detail

PlayerInfoCmdParser

public PlayerInfoCmdParser()
Method Detail

validate

public void validate(PlayerInfoCmd cmd)
              throws IllegalArgumentException
Specified by:
validate in interface CommandParser<List<PlayerInfo>,PlayerInfoCmd>
Throws:
IllegalArgumentException

writeCommand

public void writeCommand(PlayerInfoCmd cmd,
                         Writer writer)
                  throws IOException
Specified by:
writeCommand in interface CommandParser<List<PlayerInfo>,PlayerInfoCmd>
Throws:
IOException

parseInput

public List<PlayerInfo> parseInput(PlayerInfoCmd cmd,
                                   String[] lines)
Specified by:
parseInput in interface CommandParser<List<PlayerInfo>,PlayerInfoCmd>


Copyright © 2007-2008. All Rights Reserved.