Class ConsoleWriter

java.lang.Object
edu.fiu.jtlex.algorithms.ConsoleWriter
All Implemented Interfaces:
IWriter

public class ConsoleWriter extends Object implements IWriter
A proxy class for printing to console.
Since:
jTLEX 1.0
See Also:
  • Constructor Details

    • ConsoleWriter

      public ConsoleWriter()
      Creates a ConsoleWriter
      Since:
      jTLEX 1.0
  • Method Details

    • write

      public void write(String input)
      Prints the string to console Can be whitespace or null
      Specified by:
      write in interface IWriter
      Parameters:
      input - The string to print
      Since:
      jTLEX 1.0
    • writeLine

      public void writeLine(String input)
      Prints the string to console and an end of line character Can be whitespace or null
      Specified by:
      writeLine in interface IWriter
      Parameters:
      input - The string to print
      Since:
      jTLEX 1.0
    • close

      public void close()
      Does nothing
      Specified by:
      close in interface IWriter
      Since:
      jTLEX 1.0