Class MkdirCommand

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

public class MkdirCommand
extends ShellCommand

The Juno shell command to create a new directory. Usage:

     mkdir directory-name
 

Version:
10
See Also:
Serialized Form

Method Summary
 void doIt(StringTokenizer args, Shell sh)
          Create a new Directory in the current 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
Create a new Directory in the current Directory.

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