Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext.console.commands
Class ChangeDirCommand  view ChangeDirCommand download ChangeDirCommand.java

java.lang.Object
  extended byorg.jext.console.commands.Command
      extended byorg.jext.console.commands.ChangeDirCommand

public class ChangeDirCommand
extends Command

This command changes current dir.


Field Summary
private static java.lang.String COMMAND_NAME
           
 
Fields inherited from class org.jext.console.commands.Command
next
 
Constructor Summary
ChangeDirCommand()
           
 
Method Summary
 java.lang.String getCommandName()
          Return the command name.
 java.lang.String getCommandSummary()
          Return the command summary.
 boolean handleCommand(org.jext.console.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
 

Field Detail

COMMAND_NAME

private static final java.lang.String COMMAND_NAME
See Also:
Constant Field Values
Constructor Detail

ChangeDirCommand

public ChangeDirCommand()
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(org.jext.console.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