Package io.cucumber.datatable
Class DataTableFormatter
java.lang.Object
io.cucumber.datatable.DataTableFormatter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDataTableFormatter(Function<Integer, @Nullable String> rowPrefix, boolean escapeDelimiters) -
Method Summary
Modifier and TypeMethodDescriptionstatic DataTableFormatter.Builderbuilder()voidformatTo(DataTable table, Appendable appendable) voidformatTo(DataTable table, StringBuilder appendable) private voidpadSpace(Appendable buffer, int indent) (package private) voidprintRowPrefix(Appendable buffer, int rowIndex) private StringrenderCell(@Nullable String cell)
-
Field Details
-
rowPrefix
-
escapeDelimiters
private final boolean escapeDelimiters
-
-
Constructor Details
-
DataTableFormatter
-
-
Method Details
-
builder
-
format
-
formatTo
-
formatTo
- Throws:
IOException
-
printRowPrefix
- Throws:
IOException
-
renderCell
-
padSpace
- Throws:
IOException
-