Class ListCommand

java.lang.Object
  extended byShellCommand
      extended byListCommand
All Implemented Interfaces:
Serializable

public class ListCommand
extends ShellCommand

The Juno shell command to list contents of the current directory. Usage:

     list
 

Version:
10
See Also:
Serialized Form

Method Summary
 void doIt(StringTokenizer args, Shell sh)
          List contents of the current working directory.
 
Methods inherited from class ShellCommand
getArgString, getHelpString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doIt

public void doIt(StringTokenizer args,
                 Shell sh)
          throws JunoException
List contents of the current working directory.

Specified by:
doIt in class ShellCommand
Parameters:
args - the remainder of the command line.
sh - the current shell
Throws:
JunoException - for reporting errors