|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.command.AbstractCommand
net.sf.tomp.xtcl.command.VarCommand
net.sf.tomp.xtcl.command.FileCommand
net.sf.tomp.xtcl.command.Cd
public class Cd
Changes the working (current) directory.
Field Summary |
---|
Fields inherited from class net.sf.tomp.xtcl.command.FileCommand |
---|
fileName |
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand |
---|
var |
Constructor Summary | |
---|---|
Cd()
|
Method Summary | |
---|---|
int |
execute(Context context)
Changes the working (current) directory. |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class net.sf.tomp.xtcl.command.FileCommand |
---|
getFile, setFile |
Methods inherited from class net.sf.tomp.xtcl.command.VarCommand |
---|
setVar |
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand |
---|
done, initParameters, listArray, listList, listMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cd()
Method Detail |
---|
public int execute(Context context) throws java.lang.Exception
execute
in interface Command
execute
in class AbstractCommand
context
- is asked for the working directory,
working dir is set to the new one.
java.lang.Exception
- DOCUMENT ME!public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |