public class Ascii extends CustomPrinter
CustomPrinter for the printing of data in an Ascii style.ICustomPrinter.CellPositionbuilder, columnCount, columnIndex, columnWidth, isDrawingTable| Constructor and Description |
|---|
Ascii()
Main constructor.
|
Ascii(StringBuilder builder)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendTableHeaderValue(Object value,
ICustomPrinter.CellPosition position)
Add a header value to the table.
|
void |
appendTableLineSeparator()
Append a line separator to the builder.
|
void |
appendTableTitle(Object title)
Add a title to the table.
|
void |
appendTableValue(Object value,
ICustomPrinter.CellPosition position)
Add a single value to the table.
|
void |
appendValue(Object value)
Add a simple value.
|
appendTableValue, endTable, startTable, toStringpublic Ascii(StringBuilder builder)
builder - Not null StringBuilder used for building the string.public Ascii()
public void appendTableLineSeparator()
ICustomPrinterpublic void appendTableValue(Object value, ICustomPrinter.CellPosition position)
ICustomPrintervalue - Value to add to the table.public void appendTableHeaderValue(Object value, ICustomPrinter.CellPosition position)
ICustomPrintervalue - Header value to add to the table.public void appendTableTitle(Object title)
ICustomPrintertitle - Not null title to add to the table.public void appendValue(Object value)
ICustomPrinterICustomPrinter.appendTableValue(Object).value - Value to add.Copyright © 2021 CNRS. All rights reserved.