|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tomp.xtcl.command.AbstractCommand net.sf.tomp.xtcl.command.Dump
public class Dump
Prints variable content.
Field Summary | |
---|---|
protected boolean |
all
DOCUMENT ME! |
protected boolean |
deep
DOCUMENT ME! |
protected java.lang.String |
var
DOCUMENT ME! |
Constructor Summary | |
---|---|
Dump()
|
Method Summary | |
---|---|
int |
execute(Context context)
Prints variable content. |
void |
setAll(boolean v)
DOCUMENT ME! |
void |
setDeep(boolean v)
set whether deep or not |
void |
setVar(java.lang.String v)
set the variable name |
java.lang.String |
toString()
|
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 |
Field Detail |
---|
protected java.lang.String var
protected boolean deep
protected boolean all
Constructor Detail |
---|
public Dump()
Method Detail |
---|
public void setVar(java.lang.String v)
v
- the variable namepublic void setDeep(boolean v)
v
- deeply?public void setAll(boolean v)
v
- DOCUMENT ME!public int execute(Context context) throws java.lang.Exception
execute
in interface Command
execute
in class AbstractCommand
context
- to get dumped variable from
java.lang.Exception
- if output failspublic 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 |