org.dfdaemon.il2.core.console.parser
Class RawCmdParser
java.lang.Object
  
org.dfdaemon.il2.core.console.parser.RawCmdParser
- All Implemented Interfaces: 
 - CommandParser<RawReply,RawCmd>
 
public class RawCmdParser
- extends Object
- implements CommandParser<RawReply,RawCmd>
  
- Author:
 
  - aka50
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RawCmdParser
public RawCmdParser()
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.