Package org.jooq
Class TXTFormat
- java.lang.Object
-
- org.jooq.TXTFormat
-
public final class TXTFormat extends java.lang.ObjectA CSV formatting type, which can be used to configure CSV imports / exports.- Author:
- Lukas Eder
-
-
Constructor Summary
Constructors Constructor Description TXTFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhorizontalCellBorder()Whether the horizontal cell border (line between data cells) should be displayed.TXTFormathorizontalCellBorder(boolean newHorizontalCellBorder)Whether the horizontal cell border (line between data cells) should be displayed.booleanhorizontalHeaderBorder()Whether the horizontal header border (line between header and data cells) should be displayed.TXTFormathorizontalHeaderBorder(boolean newHorizontalHeaderBorder)Whether the horizontal header border (line between header and data cells) should be displayed.booleanhorizontalTableBorder()Whether the horizontal table border (top and bottom line) should be displayed.TXTFormathorizontalTableBorder(boolean newHorizontalTableBorder)Whether the horizontal table border (top and bottom line) should be displayed.booleanintersectLines()Whether horizontal and vertical lines should be intersected with a'+'symbol.TXTFormatintersectLines(boolean newIntersectLines)Whether horizontal and vertical lines should be intersected with a'+'symbol.intmaxColWidth()The maximum column width, defaulting to no limit.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.TXTFormatmaxRows(int newMaxRows)The maximum number of rows to be included in the format, defaulting to all rows.intminColWidth()The minimum column width, defaulting to 4TXTFormatminColWidth(int newMinColWidth)The minimum column width, defaulting to 4booleanverticalCellBorder()Whether the vertical cell borders (lines between data cells) should be displayed.TXTFormatverticalCellBorder(boolean newVerticalCellBorder)Whether the vertical cell borders (lines between data cells) should be displayed.booleanverticalTableBorder()Whether the vertical table border (left and right most lines) should be displayed.TXTFormatverticalTableBorder(boolean newVerticalTableBorder)Whether the vertical table border (left and right most lines) should be displayed.
-
-
-
Field Detail
-
DEFAULT
public static final TXTFormat DEFAULT
-
-
Method Detail
-
maxRows
public TXTFormat maxRows(int newMaxRows)
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
public TXTFormat minColWidth(int newMinColWidth)
The minimum column width, defaulting to 4
-
minColWidth
public int minColWidth()
The minimum column width, defaulting to 4
-
maxColWidth
public TXTFormat maxColWidth(int newMaxColWidth)
The minimum column width, defaulting to no limit.
-
maxColWidth
public int maxColWidth()
The maximum column width, defaulting to no limit.
-
horizontalTableBorder
public TXTFormat horizontalTableBorder(boolean newHorizontalTableBorder)
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
public TXTFormat horizontalHeaderBorder(boolean newHorizontalHeaderBorder)
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
public TXTFormat horizontalCellBorder(boolean newHorizontalCellBorder)
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
public TXTFormat verticalTableBorder(boolean newVerticalTableBorder)
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
public TXTFormat verticalCellBorder(boolean newVerticalCellBorder)
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
public TXTFormat intersectLines(boolean newIntersectLines)
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.
-
-