Freigeben über


TableFormat Class

public final class TableFormat
extends ExpandableStringEnum<TableFormat>

Representation format of tables in analyze result markdown.

Field Summary

Modifier and Type Field and Description
static final TableFormat HTML

Represent tables using HTML table elements: \

, \, \
, \
.

static final TableFormat MARKDOWN

Represent tables using GitHub Flavored Markdown table syntax, which does not support merged cells or rich headers.

Constructor Summary

Constructor Description
TableFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TableFormat value.

Method Summary

Modifier and Type Method and Description
static TableFormat fromString(String name)

Creates or finds a TableFormat from its string representation.

static Collection<TableFormat> values()

Gets known TableFormat values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HTML

public static final TableFormat HTML

Represent tables using HTML table elements: \

, \, \
, \
.

MARKDOWN

public static final TableFormat MARKDOWN

Represent tables using GitHub Flavored Markdown table syntax, which does not support merged cells or rich headers.

Constructor Details

TableFormat

@Deprecated
public TableFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TableFormat value.

Method Details

fromString

public static TableFormat fromString(String name)

Creates or finds a TableFormat from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TableFormat.

values

public static Collection<TableFormat> values()

Gets known TableFormat values.

Returns:

known TableFormat values.

Applies to