Class AnsiAttr
java.lang.Object
net.orbyfied.j8.util.logging.formatting.AnsiAttr
- Direct Known Subclasses:
ColorAttr,LiteralAttr
Represents an
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnsiAttr
public AnsiAttr()
-
-
Method Details
-
code
Returns/generates the ANSI escape code of the attribute.- Returns:
- The escape code.
-
toString
-
concat
Concatenates this color/formatting code with the others specified.- Parameters:
attrs- The ANSI codes.- Returns:
- The concatenated string.
-
c
- See Also:
-