org.jext.console.commands
Class HelpCommand

java.lang.Object
  extended by org.jext.console.commands.Command
      extended by org.jext.console.commands.HelpCommand

public class HelpCommand
extends Command

This command displays command help.

Author:
Romain Guy

Field Summary
 
Fields inherited from class org.jext.console.commands.Command
next
 
Constructor Summary
HelpCommand()
           
 
Method Summary
 java.lang.String getCommandName()
          Return the command name.
 java.lang.String getCommandSummary()
          Return the command summary.
 boolean handleCommand(Console console, java.lang.String command)
          Handles a command given by the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpCommand

public HelpCommand()
Method Detail

getCommandName

public java.lang.String getCommandName()
Description copied from class: Command
Return the command name. Displayed in console help summary.

Specified by:
getCommandName in class Command

getCommandSummary

public java.lang.String getCommandSummary()
Description copied from class: Command
Return the command summary. Displayed in console help summary.

Specified by:
getCommandSummary in class Command

handleCommand

public boolean handleCommand(Console console,
                             java.lang.String command)
Description copied from class: Command
Handles a command given by the console. If the command can be handled, return true, false otherwise.

Specified by:
handleCommand in class Command


Copyright ? 2002 Romain Guy.