Class ConsoleWriter

java.lang.Object
edu.fiu.jtlex.processors.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 Summary

    Constructors
    Constructor
    Description
    Creates a ConsoleWriter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Does nothing
    void
    write(String input)
    Prints the string to console Can be whitespace or null
    void
    Prints the string to console and an end of line character Can be whitespace or null

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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