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

Class TelnetTask.TelnetSubTask

  • java.lang.Object
    • org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected java.lang.String taskString 
    • Constructor Summary

      Constructors 
      Constructor and Description
      TelnetSubTask() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addText(java.lang.String s)
      the message as nested text
      void execute(TelnetTask.AntTelnetClient telnet)
      Execute the subtask.
      void setString(java.lang.String s)
      the message as an attribute
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • taskString

        protected java.lang.String taskString
    • Constructor Detail

      • TelnetSubTask

        public TelnetSubTask()
    • Method Detail

      • 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 - a String value