Package org.springframework.shell.table
Class KeyValueHorizontalAligner
java.lang.Object
org.springframework.shell.table.KeyValueHorizontalAligner
- All Implemented Interfaces:
- Aligner
A text alignment strategy that aligns text horizontally so that all instances of some special character(s)
 line up perfectly in a column.
 
Typically used to render numbers which may or may not have a decimal point, or series of key-value pairs
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
KeyValueHorizontalAligner
 
- 
- 
Method Details- 
alignDescription copied from interface:AlignerPerform text alignment, returning a String array that MUST containcellHeightlines, each of which MUST becellWidthchars in length.Input array is guaranteed to contain lines that have length equal to cellWidth. There is no guarantee on the input number of lines though.
 
-