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 Summary
Constructors Constructor Description AnsiColorString()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnsiColorStringappend(String string)Method to append a stringAnsiColorStringcolor(AnsiColor ansiColor)Method to set the current colorAnsiColorStringreset()Reset the contentStringtoString()
-
-
-
Method Detail
-
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
-
-