Class ListCommand
java.lang.Object
ShellCommand
ListCommand
- 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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