Class NewfileCommand

java.lang.Object
  extended byShellCommand
      extended byNewfileCommand

public class NewfileCommand
extends ShellCommand

The Juno shell command to create a text file. Usage:

     newfile filename contents
 

Version:
6

Constructor Summary
NewfileCommand()
          Construct a NewfileCommand object.
 
Method Summary
 void doIt(StringTokenizer args, Shell sh)
          Create a new TextFile 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
 

Constructor Detail

NewfileCommand

public NewfileCommand()
Construct a NewfileCommand object.

Method Detail

doIt

public void doIt(StringTokenizer args,
                 Shell sh)
Create a new TextFile in the current Directory.

Specified by:
doIt in class ShellCommand
Parameters:
args - the remainder of the command line.
sh - the current shell