Class 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.ObjectThis class is the parent of the Read and Write tasks. It handles the common attributes for both.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringtaskString
 - 
Constructor SummaryConstructors Constructor Description RExecSubTask()
 - 
Method SummaryModifier and Type Method Description voidaddText(java.lang.String s)the message as nested textvoidexecute(RExecTask.AntRExecClient rexec)Execute the subtask.voidsetString(java.lang.String s)the message as an attribute
 
- 
- 
- 
Method Detail- 
executepublic void execute(RExecTask.AntRExecClient rexec) throws BuildException Execute the subtask.- Parameters:
- rexec- the client
- Throws:
- BuildException- always as it is not allowed to instantiate this object
 
 - 
addTextpublic void addText(java.lang.String s) the message as nested text- Parameters:
- s- the nested text
 
 - 
setStringpublic void setString(java.lang.String s) the message as an attribute- Parameters:
- s- a- Stringvalue
 
 
- 
 
-