ar.com.ktulu.dict.kernel.command
Class CmdClient

java.lang.Object
  |
  +--ar.com.ktulu.dict.kernel.command.CmdClient
All Implemented Interfaces:
Command

public class CmdClient
extends java.lang.Object
implements Command

Author:
Luis Parravicini

Constructor Summary
CmdClient()
           
 
Method Summary
 void execute()
          Executes the command without passing any arguments to it.
 void execute(Context ctx)
          Executes the command only a context to it.
 void execute(Context ctx, java.lang.String[] args)
          Executes the command with a context and an array of strings as arguments.
 void execute(java.lang.String[] args)
          Executes the command passing an array of strings as arguments.
 java.lang.String getDescription()
          Returns a brief description of the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdClient

public CmdClient()
Method Detail

execute

public void execute(Context ctx,
                    java.lang.String[] args)
             throws CommandException
Description copied from interface: Command
Executes the command with a context and an array of strings as arguments.

Specified by:
execute in interface Command
CommandException

execute

public void execute(Context ctx)
             throws CommandException
Description copied from interface: Command
Executes the command only a context to it.

Specified by:
execute in interface Command
CommandException

execute

public void execute()
             throws CommandException
Description copied from interface: Command
Executes the command without passing any arguments to it.

Specified by:
execute in interface Command
CommandException

execute

public void execute(java.lang.String[] args)
             throws CommandException
Description copied from interface: Command
Executes the command passing an array of strings as arguments.

Specified by:
execute in interface Command
CommandException

getDescription

public java.lang.String getDescription()
Description copied from interface: Command
Returns a brief description of the command.

Specified by:
getDescription in interface Command