org.sourcejammer.client.commandline
Class CLCommands

java.lang.Object
  |
  +--org.sourcejammer.client.commandline.CLCommands

public class CLCommands
extends java.lang.Object

Maintains a list of command line commands and the hashed list of CLCommand objects that are executed to execute each command.


Nested Class Summary
static class CLCommands.Commands
           
 
Field Summary
private  CommandLineInterpreter commandLine
           
private  java.util.Hashtable mhshCommands
           
 
Constructor Summary
CLCommands(CommandLineInterpreter cl)
           
 
Method Summary
 CLCommandResponse executeCommand(java.lang.String command, java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mhshCommands

private java.util.Hashtable mhshCommands

commandLine

private CommandLineInterpreter commandLine
Constructor Detail

CLCommands

public CLCommands(CommandLineInterpreter cl)
Method Detail

executeCommand

public CLCommandResponse executeCommand(java.lang.String command,
                                        java.lang.String[] args)
                                 throws org.sourcejammer.util.SourceJammerConnectionException,
                                        java.io.IOException,
                                        CLCommandException
org.sourcejammer.util.SourceJammerConnectionException
java.io.IOException
CLCommandException


Copyright 2003 Soucejammer project.