Class SimpleTable


  • public class SimpleTable
    extends Object
    Author:
    Alexey Loubyansky
    • Constructor Detail

      • SimpleTable

        public SimpleTable​(String[] header,
                           int terminalWidth)
      • SimpleTable

        public SimpleTable​(int columnsTotal,
                           int terminalWidth)
    • Method Detail

      • columnsTotal

        public int columnsTotal()
      • addLine

        public void addLine​(String... line)
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • toString

        public String toString​(boolean order)