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

java.lang.Object
  extended by org.dfdaemon.il2.core.console.parser.ChannelInfoCmdParser
All Implemented Interfaces:
CommandParser<List<ChannelInfo>,ChannelInfoCmd>

public class ChannelInfoCmdParser
extends Object
implements CommandParser<List<ChannelInfo>,ChannelInfoCmd>

Author:
aka50

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

Constructor Detail

ChannelInfoCmdParser

public ChannelInfoCmdParser()
Method Detail

initCommandReply

public List<ChannelInfo> initCommandReply(ChannelInfoCmd cmd)

validate

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

writeCommand

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

parseInput

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


Copyright © 2007-2008. All Rights Reserved.