org.dfdaemon.il2.core.console.parser
Class ChannelInfoCmdParser
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelInfoCmdParser
public ChannelInfoCmdParser()
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.