Class TelnetTask.TelnetWrite
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask
- 
- org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetWrite
 
 
- 
- Enclosing class:
- TelnetTask
 
 public class TelnetTask.TelnetWrite extends TelnetTask.TelnetSubTask Sends text to the connected server
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTasktaskString
 
- 
 - 
Constructor SummaryConstructors Constructor Description TelnetWrite()
 - 
Method SummaryModifier and Type Method Description voidexecute(TelnetTask.AntTelnetClient telnet)Execute the write task.voidsetEcho(boolean b)Whether or not the message should be echoed to the log.- 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTaskaddText, setString
 
- 
 
- 
- 
- 
Method Detail- 
executepublic void execute(TelnetTask.AntTelnetClient telnet) throws BuildException Execute the write task.- Overrides:
- executein class- TelnetTask.TelnetSubTask
- Parameters:
- telnet- the task to use
- Throws:
- BuildException- on error
 
 - 
setEchopublic void setEcho(boolean b) Whether or not the message should be echoed to the log. Defaults totrue.- Parameters:
- b- a- booleanvalue
 
 
- 
 
-