java.lang.Object
org.jooq.TXTFormat
A text formatting type, which can be used to configure text imports /
exports.
The type is immutable, meaning calls to setters like maxRows(int) do
not modify the original reference, but return a new one instead.
- Author:
- Lukas Eder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the horizontal cell border (line between data cells) should be displayed.@NotNull TXTFormathorizontalCellBorder(boolean newHorizontalCellBorder) Whether the horizontal cell border (line between data cells) should be displayed.booleanWhether the horizontal header border (line between header and data cells) should be displayed.@NotNull TXTFormathorizontalHeaderBorder(boolean newHorizontalHeaderBorder) Whether the horizontal header border (line between header and data cells) should be displayed.booleanWhether the horizontal table border (top and bottom line) should be displayed.@NotNull TXTFormathorizontalTableBorder(boolean newHorizontalTableBorder) Whether the horizontal table border (top and bottom line) should be displayed.booleanWhether horizontal and vertical lines should be intersected with a'+'symbol.@NotNull TXTFormatintersectLines(boolean newIntersectLines) Whether horizontal and vertical lines should be intersected with a'+'symbol.intThe maximum column width, defaulting to no limit.@NotNull TXTFormatmaxColWidth(int newMaxColWidth) The minimum column width, defaulting to no limit.intmaxRows()The maximum number of rows to be included in the format, defaulting to all rows.@NotNull TXTFormatmaxRows(int newMaxRows) The maximum number of rows to be included in the format, defaulting to all rows.intThe minimum column width, defaulting to 4@NotNull TXTFormatminColWidth(int newMinColWidth) The minimum column width, defaulting to 4booleanWhether the vertical cell borders (lines between data cells) should be displayed.@NotNull TXTFormatverticalCellBorder(boolean newVerticalCellBorder) Whether the vertical cell borders (lines between data cells) should be displayed.booleanWhether the vertical table border (left and right most lines) should be displayed.@NotNull TXTFormatverticalTableBorder(boolean newVerticalTableBorder) Whether the vertical table border (left and right most lines) should be displayed.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
TXTFormat
public TXTFormat()
-
-
Method Details
-
maxRows
The maximum number of rows to be included in the format, defaulting to all rows. -
maxRows
public int maxRows()The maximum number of rows to be included in the format, defaulting to all rows. -
minColWidth
The minimum column width, defaulting to 4 -
minColWidth
public int minColWidth()The minimum column width, defaulting to 4 -
maxColWidth
The minimum column width, defaulting to no limit. -
maxColWidth
public int maxColWidth()The maximum column width, defaulting to no limit. -
horizontalTableBorder
Whether the horizontal table border (top and bottom line) should be displayed. -
horizontalTableBorder
public boolean horizontalTableBorder()Whether the horizontal table border (top and bottom line) should be displayed. -
horizontalHeaderBorder
Whether the horizontal header border (line between header and data cells) should be displayed. -
horizontalHeaderBorder
public boolean horizontalHeaderBorder()Whether the horizontal header border (line between header and data cells) should be displayed. -
horizontalCellBorder
Whether the horizontal cell border (line between data cells) should be displayed. -
horizontalCellBorder
public boolean horizontalCellBorder()Whether the horizontal cell border (line between data cells) should be displayed. -
verticalTableBorder
Whether the vertical table border (left and right most lines) should be displayed. -
verticalTableBorder
public boolean verticalTableBorder()Whether the vertical table border (left and right most lines) should be displayed. -
verticalCellBorder
Whether the vertical cell borders (lines between data cells) should be displayed. -
verticalCellBorder
public boolean verticalCellBorder()Whether the vertical cell borders (lines between data cells) should be displayed. -
intersectLines
Whether horizontal and vertical lines should be intersected with a'+'symbol. -
intersectLines
public boolean intersectLines()Whether horizontal and vertical lines should be intersected with a'+'symbol.
-