Interface IWriter

All Known Implementing Classes:
ConsoleWriter, TimeMLWriter

public interface IWriter
Abstraction for classes that write strings.
Since:
jTLEX 1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the stream
    void
    write(String input)
    Writes a string
    void
    Writes a string and a end of line character
  • Method Details

    • write

      void write(String input) throws IOException
      Writes a string
      Parameters:
      input - The string to write
      Throws:
      IOException - If an IO error occurs
      Since:
      jTLEX 1.0
    • writeLine

      void writeLine(String input) throws IOException
      Writes a string and a end of line character
      Parameters:
      input - The string to write
      Throws:
      IOException - If an IO error occurs
      Since:
      jTLEX 1.0
    • close

      void close() throws IOException
      Closes the stream
      Throws:
      IOException - If an IO error occurs
      Since:
      jTLEX 1.0