Class TableExporter.FixedTextTableWriter
- java.lang.Object
-
- com.brsanthu.dataexporter.DataWriter
-
- com.brsanthu.dataexporter.AbstractDataWriter
-
- com.brsanthu.dataexporter.output.texttable.TextTableWriter
-
- com.complexible.common.dataexporter.TableExporter.FixedTextTableWriter
-
- Enclosing class:
- TableExporter
public static class TableExporter.FixedTextTableWriter extends com.brsanthu.dataexporter.output.texttable.TextTableWriter
Fixes a bug in TextTableWriter where right intersection was used in every place a right left intersection was supposed to be used.- Author:
- Evren Sirin
-
-
Constructor Summary
Constructors Constructor Description FixedTextTableWriter(java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxRowHeight(com.brsanthu.dataexporter.model.RowDetails rowDetails)
void
printBottomBorder()
void
printHeaderCells(java.util.List<java.util.List<java.lang.String>> headerLines)
protected void
printTopBorder()
void
printTopDownBorder()
void
writeHeader(com.brsanthu.dataexporter.model.Table table)
-
Methods inherited from class com.brsanthu.dataexporter.output.texttable.TextTableWriter
afterTable, formatHeaderCells, formatRowCells, getStyle, getTextTableExportOptions, printLine, printLine, printLine, writeRow
-
Methods inherited from class com.brsanthu.dataexporter.AbstractDataWriter
afterFooterRow, afterHeaderCell, afterHeaderRow, afterRow, afterRowCell, beforeFooterRow, beforeHeaderCell, beforeHeaderRow, beforeRow, beforeRowCell, beforeTable, writeHeaderCell, writeRowCell
-
-
-
-
Method Detail
-
printTopBorder
protected void printTopBorder()
- Overrides:
printTopBorder
in classcom.brsanthu.dataexporter.output.texttable.TextTableWriter
-
printTopDownBorder
public void printTopDownBorder()
- Overrides:
printTopDownBorder
in classcom.brsanthu.dataexporter.output.texttable.TextTableWriter
-
printBottomBorder
public void printBottomBorder()
- Overrides:
printBottomBorder
in classcom.brsanthu.dataexporter.output.texttable.TextTableWriter
-
printHeaderCells
public void printHeaderCells(java.util.List<java.util.List<java.lang.String>> headerLines)
- Overrides:
printHeaderCells
in classcom.brsanthu.dataexporter.output.texttable.TextTableWriter
-
getMaxRowHeight
public int getMaxRowHeight(com.brsanthu.dataexporter.model.RowDetails rowDetails)
- Overrides:
getMaxRowHeight
in classcom.brsanthu.dataexporter.output.texttable.TextTableWriter
-
writeHeader
public void writeHeader(com.brsanthu.dataexporter.model.Table table)
- Overrides:
writeHeader
in classcom.brsanthu.dataexporter.output.texttable.TextTableWriter
-
-