org.apache.tools.ant.taskdefs.optional.netClass RExecTask.RExecSubTask
- java.lang.Object
- org.apache.tools.ant.taskdefs.optional.net.RExecTask.RExecSubTask
- Direct Known Subclasses:
- RExecTask.RExecRead, RExecTask.RExecWrite
- Enclosing class:
- RExecTask
public class RExecTask.RExecSubTask extends java.lang.Object
This class is the parent of the Read and Write tasks. It handles the common attributes for both.
Field Summary
Fields Modifier and Type Field and Description protected java.lang.String
taskString
Constructor Summary
Constructors Constructor and Description RExecSubTask()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
addText(java.lang.String s)
the message as nested textvoid
execute(RExecTask.AntRExecClient rexec)
Execute the subtask.void
setString(java.lang.String s)
the message as an attribute
Method Detail
execute
public void execute(RExecTask.AntRExecClient rexec) throws BuildExceptionExecute the subtask.
- Parameters:
rexec
- the client- Throws:
BuildException
- always as it is not allowed to instantiate this object
addText
public void addText(java.lang.String s)the message as nested text
- Parameters:
s
- the nested text
setString
public void setString(java.lang.String s)the message as an attribute
- Parameters:
s
- aString
value