public class Table extends Object implements TerminalSizeAware
formatters know how to derive character data out of raw data. For
 example, numbers are
 formatted according to a Locale, or Maps are emitted as a series of key=value linessize constraints are then applied, which decide how
 much column real estate to allocate to cellstext wrapping policies are applied once the column sizes
 are knownalignment strategies actually render
 text as a series of space-padded strings that draw nicely on screen.CellMatcher: One can
 decide to right pad column number 3, or to format in a certain way all instances of java.util.Map.
 Of course, all of those customizations often work hand in hand, and not all combinations make sense: one needs to anticipate the fact that text will be split using the ' ' (space) character to properly calculate column sizes.
public TableModel getModel()
public String render(int totalAvailableWidth)
render in interface TerminalSizeAwareCopyright © 2022. All rights reserved.