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

java.lang.Object
  extended by org.dfdaemon.il2.core.console.parser.RawCmdParser
All Implemented Interfaces:
CommandParser<RawReply,RawCmd>

public class RawCmdParser
extends Object
implements CommandParser<RawReply,RawCmd>

Author:
aka50

Constructor Summary
RawCmdParser()
           
 
Method Summary
 RawReply parseInput(RawCmd cmd, String[] lines)
           
 void validate(RawCmd cmd)
           
 void writeCommand(RawCmd cmd, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawCmdParser

public RawCmdParser()
Method Detail

validate

public void validate(RawCmd cmd)
              throws IllegalArgumentException
Specified by:
validate in interface CommandParser<RawReply,RawCmd>
Throws:
IllegalArgumentException

writeCommand

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

parseInput

public RawReply parseInput(RawCmd cmd,
                           String[] lines)
Specified by:
parseInput in interface CommandParser<RawReply,RawCmd>


Copyright © 2007-2008. All Rights Reserved.