Package com.diogonunes.jcolor
Class AnsiFormat
java.lang.Object
com.diogonunes.jcolor.AnsiFormat
Abstracts an Array of
Attribute
s.
Use it if you find this more readable than Attribute[].-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AnsiFormat
- Parameters:
attributes
- All ANSI attributes to format a text.
-
-
Method Details
-
format
- Parameters:
text
- String to format.- Returns:
- The formatted string, ready to be printed.
-
toArray
-