Package ipsk.text

Class TableWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    public class TableWriter
    extends java.io.BufferedWriter
    Author:
    klausj
    • Field Summary

      • Fields inherited from class java.io.Writer

        lock
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeGroups​(java.util.List<java.util.List<java.util.List<java.lang.String>>> groups)  
      void writeRecords​(java.util.List<java.util.List<java.lang.String>> records)  
      • Methods inherited from class java.io.BufferedWriter

        close, flush, newLine, write, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class java.io.Writer

        append, append, append, write, write
    • Constructor Detail

      • TableWriter

        public TableWriter​(java.io.Writer writer,
                           TableTextFormat format)
    • Method Detail

      • writeRecords

        public void writeRecords​(java.util.List<java.util.List<java.lang.String>> records)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeGroups

        public void writeGroups​(java.util.List<java.util.List<java.util.List<java.lang.String>>> groups)
                         throws java.io.IOException
        Throws:
        java.io.IOException