Class NewfileCommand
java.lang.Object
|
+--ShellCommand
|
+--NewfileCommand
- 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewfileCommand
public NewfileCommand()
- Construct a NewfileCommand object.
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