Package org.apache.jorphan.util
Class StringWrap
-
- All Implemented Interfaces:
@API(since = "5.5", status = API.Status.EXPERIMENTAL) public class StringWrapWraps text in such a way so the lines do not exceed given maximum length.
-
-
Constructor Summary
Constructors Constructor Description StringWrap(int minWrap, int maxWrap)Creates string wrapper instance.
-
Method Summary
Modifier and Type Method Description intgetMinWrap()intgetMaxWrap()Stringwrap(String input, String delimiter)Wraps given inputtext accoding to-
-
Method Detail
-
getMinWrap
int getMinWrap()
-
getMaxWrap
int getMaxWrap()
-
-
-
-