org.apache.tools.ant.taskdefs.optional.net

Class RExecTask.RExecSubTask

public class RExecTask.RExecSubTask extends Object

This class is the parent of the Read and Write tasks. It handles the common attributes for both.
Field Summary
protected StringtaskString
Method Summary
voidaddText(String s)
the message as nested text
voidexecute(RExecTask.AntRExecClient rexec)
Execute the subtask.
voidsetString(String s)
the message as an attribute

Field Detail

taskString

protected String taskString

Method Detail

addText

public void addText(String s)
the message as nested text

Parameters: s the nested text

execute

public void execute(RExecTask.AntRExecClient rexec)
Execute the subtask.

Parameters: rexec the client

Throws: BuildException always as it is not allowed to instantiate this object

setString

public void setString(String s)
the message as an attribute

Parameters: s a String value