Package org.springframework.shell.table
Class DebugAligner
java.lang.Object
org.springframework.shell.table.DebugAligner
- All Implemented Interfaces:
Aligner
A decorator Aligner that checks the Aligner invariants contract, useful for debugging.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DebugAligner
-
-
Method Details
-
align
Description copied from interface:Aligner
Perform text alignment, returning a String array that MUST containcellHeight
lines, each of which MUST becellWidth
chars 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.
-