public class MarkdownTable extends Object implements MarkdownCompatible
| Modifier and Type | Field and Description |
|---|---|
Queryable<MarkdownTableElement> |
markdown |
| Constructor and Description |
|---|
MarkdownTable() |
| Modifier and Type | Method and Description |
|---|---|
MarkdownTable |
addRow(Object... columns) |
<I> MarkdownTable |
addRowsForInputs(I[] inputs,
Function1<I,Object>... transfers) |
static Queryable<MarkdownTableElement> |
constructColumnHeaders(String... headers) |
static Queryable<MarkdownTableElement> |
constructRow(Object... columns) |
static <I,O> MarkdownTable |
create(I[] inputs,
Function1<I,O> o,
String column1,
String column2) |
static String |
printColumnHeaders(String... headers) |
static String |
printRow(Object... columns) |
void |
setColumnProperties(MarkdownColumn columnProperties) |
void |
setColumnsConsistentWidth(boolean setting) |
String |
toMarkdown() |
String |
toString() |
MarkdownTable |
withColumnHeaders(String... headers) |
static MarkdownTable |
withHeaders(String... columnNames) |
public Queryable<MarkdownTableElement> markdown
public void setColumnsConsistentWidth(boolean setting)
public static <I,O> MarkdownTable create(I[] inputs, Function1<I,O> o, String column1, String column2)
public static MarkdownTable withHeaders(String... columnNames)
public <I> MarkdownTable addRowsForInputs(I[] inputs, Function1<I,Object>... transfers)
public MarkdownTable addRow(Object... columns)
public MarkdownTable withColumnHeaders(String... headers)
public String toMarkdown()
toMarkdown in interface MarkdownCompatiblepublic static Queryable<MarkdownTableElement> constructColumnHeaders(String... headers)
public static Queryable<MarkdownTableElement> constructRow(Object... columns)
public void setColumnProperties(MarkdownColumn columnProperties)
Copyright © 2023. All rights reserved.