Package com.helix.cli.ui
Class AsciiTableRenderer
java.lang.Object
com.helix.cli.ui.AsciiTableRenderer
High-performance terminal utility for rendering cleanly aligned ASCII tables.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AsciiTableRenderer
public AsciiTableRenderer()
-
-
Method Details
-
renderKeyValueTable
Renders a key-value map as an ASCII table.- Parameters:
title- table title header (optional)data- key-value mapping of metrics- Returns:
- formatted ASCII table string
-
renderTable
Renders headers and rows as an ASCII table with column auto-sizing and optional title.- Parameters:
title- optional header title spanning the full table widthheaders- column header labelsrows- row values- Returns:
- formatted ASCII table string
-