Package io.cucumber.prettyformatter
Class Ansi
- java.lang.Object
-
- io.cucumber.prettyformatter.Ansi
-
public final class Ansi extends Object
Represents an ANSI escape code in the formatCSI n m.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnsi.AttributesA select number of attributes from all the available Select Graphic Rendition attributes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Ansiwith(Ansi.Attributes... attributes)Constructs an ANSI escape code with the given attributes.
-
-
-
Method Detail
-
with
public static Ansi with(Ansi.Attributes... attributes)
Constructs an ANSI escape code with the given attributes.- Parameters:
attributes- to include.- Returns:
- an ANSI escape code with the given attributes
-
-