Class 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
    • Field Summary

      • Fields inherited from class com.brsanthu.dataexporter.DataWriter

        options
    • 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
      • Methods inherited from class com.brsanthu.dataexporter.DataWriter

        finishExporting, flush, generateRowData, getOptions, print, print, println, println, setOutputStream, writeRows, writeTable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FixedTextTableWriter

        public FixedTextTableWriter​(java.io.OutputStream out)
    • Method Detail

      • printTopBorder

        protected void printTopBorder()
        Overrides:
        printTopBorder in class com.brsanthu.dataexporter.output.texttable.TextTableWriter
      • printTopDownBorder

        public void printTopDownBorder()
        Overrides:
        printTopDownBorder in class com.brsanthu.dataexporter.output.texttable.TextTableWriter
      • printBottomBorder

        public void printBottomBorder()
        Overrides:
        printBottomBorder in class com.brsanthu.dataexporter.output.texttable.TextTableWriter
      • printHeaderCells

        public void printHeaderCells​(java.util.List<java.util.List<java.lang.String>> headerLines)
        Overrides:
        printHeaderCells in class com.brsanthu.dataexporter.output.texttable.TextTableWriter
      • getMaxRowHeight

        public int getMaxRowHeight​(com.brsanthu.dataexporter.model.RowDetails rowDetails)
        Overrides:
        getMaxRowHeight in class com.brsanthu.dataexporter.output.texttable.TextTableWriter
      • writeHeader

        public void writeHeader​(com.brsanthu.dataexporter.model.Table table)
        Overrides:
        writeHeader in class com.brsanthu.dataexporter.output.texttable.TextTableWriter