Package com.jcabi.log
Class Colors
java.lang.Object
com.jcabi.log.Colors
Store human readable color data.
- Since:
- 0.18
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Colors
public Colors()Public ctor.
-
-
Method Details
-
addColor
Add color to color map.- Parameters:
key
- Key to addvalue
- Value to add
-
ansi
Convert our text to ANSI color.- Parameters:
meta
- Meta text- Returns:
- ANSI color
-