public interface TextWrapper
Modifier and Type | Method and Description |
---|---|
String[] |
wrap(String[] original,
int columnWidth) |
String[] wrap(String[] original, int columnWidth)
original
- the text in its original formcolumnWidth
- the width to conform tocolumnWidth
(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).Copyright © 2017 Pivotal Software, Inc.. All rights reserved.