Interface IOutputChannel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Instructs this channel to close and free any resources.
      void flush()
      Causes the channel to flush any buffered text.
      void print​(String outputString)
      Sends text to channel
      void println​(String outputString)
      Sends text to the channel with an appended \n
      void printPrompt​(String prompt)
      Sets the prompt which should be displayed when an interactive session is running.
    • Method Detail

      • print

        void print​(String outputString)
        Sends text to channel
        Parameters:
        outputString - text to send
      • printPrompt

        void printPrompt​(String prompt)
        Sets the prompt which should be displayed when an interactive session is running. Typically this will display the context number in a multi-context environment.
        Parameters:
        prompt - prompt to display.
      • println

        void println​(String outputString)
        Sends text to the channel with an appended \n
        Parameters:
        outputString - text to send
      • close

        void close()
        Instructs this channel to close and free any resources. Once closed a channel cannot be re-opened.
      • flush

        void flush()
        Causes the channel to flush any buffered text. Depending upon the channel implementation this may not have any effect.