public class AnsiColorString
extends Object
Class to build AnsiColor strings using a fluent pattern
-
Constructor Summary
Constructors
-
Method Summary
Method to append a string
Method to set the current color
-
Constructor Details
-
AnsiColorString
public AnsiColorString()
Constructor
-
Method Details
-
reset
Reset the content
- Returns:
- the return value
-
color
Method to set the current color
- Parameters:
ansiColor - ansiColor
- Returns:
- the return value
-
append
Method to append a string
- Parameters:
string - string
- Returns:
- the return value
-