org.jext.console.commands
Class PwdCommand

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

public class PwdCommand
extends Command

This command displays current dir.

Author:
Romain Guy

Field Summary
 
Fields inherited from class org.jext.console.commands.Command
next
 
Constructor Summary
PwdCommand()
           
 
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

PwdCommand

public PwdCommand()
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.