ujap.util
Class StringUtils
java.lang.Object
ujap.util.StringUtils
- public final class StringUtils
- extends Object
- Author:
- Ute Platzer
Method Summary |
static String[] |
lineBreak(String text,
int length)
return an array of strings with max-length as specified, containing
each one line from the input text |
static String |
lineBreak(String text,
String breakText,
int length)
break given text at spaces into lines of max. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRING
private static final String[] STRING
StringUtils
public StringUtils()
lineBreak
public static final String lineBreak(String text,
String breakText,
int length)
- break given text at spaces into lines of max. the given length, using
breakText as the separator (e.g. "
" in html).
lineBreak
public static final String[] lineBreak(String text,
int length)
- return an array of strings with max-length as specified, containing
each one line from the input text
Copyright ? 2002-2005 Ute Platzer. All Rights Reserved.