Class AnsiColorString

java.lang.Object
org.antublue.test.engine.internal.util.AnsiColorString

public class AnsiColorString extends Object
Class to build AnsiColor strings using a fluent pattern
  • Constructor Details

    • AnsiColorString

      public AnsiColorString()
      Constructor
  • Method Details

    • reset

      public AnsiColorString reset()
      Reset the content
      Returns:
      the return value
    • color

      public AnsiColorString color(AnsiColor ansiColor)
      Method to set the current color
      Parameters:
      ansiColor - ansiColor
      Returns:
      the return value
    • append

      public AnsiColorString append(String string)
      Method to append a string
      Parameters:
      string - string
      Returns:
      the return value
    • toString

      public String toString()
      Overrides:
      toString in class Object