org.dfdaemon.il2.spi.console
Interface CommandParser<R,C extends Command<R>>

All Known Implementing Classes:
ChannelInfoCmdParser, ChannelStatCmdParser, ChatCmdParser, KickCmdParser, MissionActionCmdParser, PlayerInfoCmdParser, PlayerStatCmdParser, RawCmdParser

public interface CommandParser<R,C extends Command<R>>

Author:
aka50

Method Summary
 R parseInput(C cmd, String[] lines)
           
 void validate(C cmd)
           
 void writeCommand(C cmd, Writer writer)
           
 

Method Detail

validate

void validate(C cmd)
              throws IllegalArgumentException
Throws:
IllegalArgumentException

writeCommand

void writeCommand(C cmd,
                  Writer writer)
                  throws IOException
Throws:
IOException

parseInput

R parseInput(C cmd,
             String[] lines)


Copyright © 2007-2008. All Rights Reserved.