| java.lang.Object org.strecks.util.StringUtils
StringUtils | public class StringUtils (Code) | | Class with String utility methods
author: Phil Zoio |
notBlankOrNull | public static boolean notBlankOrNull(String string)(Code) | | Checks that the supplied String is not null and not empty or containing only whitespace
true if and only if String is not null and the length of the string trimmed is greater than zero |
shorten | public static void shorten(StringBuffer buffer, int chars)(Code) | | Deletes the specified number of chars from the end of a StringBuffer
Parameters: buffer - the StringBuffer to shorten Parameters: chars - the number of chars to remove from the end of the buffer |
|
|