public final class PlainTableFormatter extends TableFormatter
Provides the functionality to format the table as a plain text formatting.
Constructor and Description |
---|
PlainTableFormatter()
Initializes a new instance
of the
PlainTableFormatter class. |
PlainTableFormatter(PlainTableFrame frame)
Initializes a new instance
of the
PlainTableFormatter class. |
Modifier and Type | Method and Description |
---|---|
String |
closeTable()
Closes the current table.
|
protected String |
formatText(TableRow item,
DocumentPartOptions documentPartOptions)
Converts
item to the string with formatting. |
getColumnWidthCollection
getPreviousDocumentPartOptions, getPreviousItem, getText, getText, isEmpty, isFirstItem, reset
public PlainTableFormatter()
Initializes a new instance
of the PlainTableFormatter
class.
public PlainTableFormatter(PlainTableFrame frame)
Initializes a new instance
of the PlainTableFormatter
class.
frame
- An instance of the
PlainTableFrame
.public String closeTable()
Closes the current table.
closeTable
in class TableFormatter
protected String formatText(TableRow item, DocumentPartOptions documentPartOptions)
Converts item
to the string with formatting.
formatText
in class DocumentPartFormatter<TableRow>
item
- The item for formatting.documentPartOptions
- The options for formatting.item
.Copyright © 2019. All rights reserved.