Interface OutputHandler

All Known Implementing Classes:
DefaultOutputHandler

public interface OutputHandler
Manage user output to different sources.
Author:
Brett Porter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(String line)
    Write a single line of input, excluding the newline at the end.
    void
    Write a single line of input, including the newline at the end.
  • Method Details

    • write

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

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