Class DecoratingPrintWriter

java.lang.Object
java.io.Writer
java.io.PrintWriter
ghidra.app.script.DecoratingPrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public abstract class DecoratingPrintWriter extends PrintWriter
A print writer that allows clients to specify the text color.
  • Constructor Details

    • DecoratingPrintWriter

      public DecoratingPrintWriter(Writer out)
  • Method Details

    • println

      public abstract void println(String s, Color c)
      Print a line of text with the given color.
      Parameters:
      s - the text
      c - the color
    • print

      public abstract void print(String s, Color c)
      Print text with the given color.
      Parameters:
      s - the text
      c - the color