public class WordWrap extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
wordWrap(String input,
int width,
Locale locale)
Reformats a string where lines that are longer than width are
split apart at the earliest wordbreak or at maxLength, whichever is sooner.
|
public static String wordWrap(String input, int width, Locale locale)
input - the String to reformat.width - the maximum length of any one line.Copyright © 2018. All rights reserved.