Class TableFormatter

java.lang.Object
org.kobe.xbot.Utilities.TableFormatter

public class TableFormatter extends Object
  • Constructor Details

    • TableFormatter

      public TableFormatter()
  • Method Details

    • makeTable

      public static String makeTable(String[] headers, String[][] data)
      Creates a formatted table as a string.
      Parameters:
      headers - Array of column headers.
      data - 2D array of table data.
      Returns:
      A string representing the formatted table.
    • main

      public static void main(String[] args)