Interface OutputHandler

  • All Known Implementing Classes:
    DefaultOutputHandler

    public interface OutputHandler
    Manage user output to different sources.
    Version:
    $Id$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ROLE  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(java.lang.String line)
      Write a single line of input, excluding the newline at the end.
      void writeLine​(java.lang.String line)
      Write a single line of input, including the newline at the end.
    • Field Detail

      • ROLE

        static final java.lang.String ROLE
    • Method Detail

      • write

        void write​(java.lang.String line)
            throws java.io.IOException
        Write a single line of input, excluding the newline at the end.
        Parameters:
        line - the line
        Throws:
        java.io.IOException
      • writeLine

        void writeLine​(java.lang.String line)
                throws java.io.IOException
        Write a single line of input, including the newline at the end.
        Parameters:
        line - the line
        Throws:
        java.io.IOException