net.sf.tomp.xtcl.command
Class PropertiesCommand
java.lang.Object
net.sf.tomp.xtcl.command.AbstractCommand
net.sf.tomp.xtcl.command.VarCommand
net.sf.tomp.xtcl.command.PropertiesCommand
- All Implemented Interfaces:
- Command
public class PropertiesCommand
- extends VarCommand
DOCUMENT ME!
- Author:
- tomp
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand |
var |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertiesCommand
public PropertiesCommand()
execute
public int execute(Context context)
throws java.lang.Exception
- DOCUMENT ME!
- Specified by:
execute
in interface Command
- Overrides:
execute
in class AbstractCommand
- Parameters:
context
- DOCUMENT ME!
- Returns:
- DOCUMENT ME!
- Throws:
java.lang.Exception
- DOCUMENT ME!
getBody
public java.lang.String getBody()
- Returns:
- Returns the body.
getFileNameOrRef
public java.lang.String getFileNameOrRef()
- Returns:
- Returns the fileNameOrRef.
setBody
public void setBody(java.lang.String b)
- Set the command (sequence) found in this template body
- Parameters:
c
- the command from the body
setFileNameOrRef
public void setFileNameOrRef(java.lang.String b)
toString
public java.lang.String toString()
- DOCUMENT ME!
- Overrides:
toString
in class java.lang.Object
- Returns:
- DOCUMENT ME!