|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--Command
|
+--Popd
The Popd class (a subclass of the abstract base class Command)
implements the familiar unix command popd, which pops a
directory from the directory stack and changes the working
directory to that directory.
This class implements the abstract methods execute and
getDescription inherited from the abstract base class
Command.
| Constructor Summary | |
Popd()
|
|
| Method Summary | |
java.lang.String |
execute(java.lang.String args)
Executes the popd command and returns the result in the form of a String object. |
java.lang.String |
getDescription()
Returns a description of the command. |
| Methods inherited from class Command |
ExpandArgs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Popd()
| Method Detail |
public java.lang.String execute(java.lang.String args)
String object.
execute in class Commandargs - arguments for this command.
public java.lang.String getDescription()
Command
getDescription in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||