public class KeyValueTextWrapper extends Object implements TextWrapper
KeyValueSizeConstraints
, KeyValueHorizontalAligner
), that tries its
best to vertically align some delimiter character (default '=').Constructor and Description |
---|
KeyValueTextWrapper() |
KeyValueTextWrapper(String delimiter) |
public KeyValueTextWrapper()
public KeyValueTextWrapper(String delimiter)
public String[] wrap(String[] original, int columnWidth)
TextWrapper
columnWidth
(padding with spaces if
appropriate). There is no constraint on the number of lines returned however (typically, will be greater than
the input number if wrapping occurred).wrap
in interface TextWrapper