org.tuckey.web.filters.urlrewrite.utils
Class StringUtils
java.lang.Object
org.tuckey.web.filters.urlrewrite.utils.StringUtils
public class StringUtils
- extends Object
In the style of commons-lang StringUtils, but a bit smaller!.
- Version:
- $Revision: 1 $ $Date: 2006-08-01 21:40:28 +1200 (Tue, 01 Aug 2006) $
- Author:
- Paul Tuckey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtils
public StringUtils()
trim
public static String trim(String str)
trimToNull
public static String trimToNull(String str)
isBlank
public static boolean isBlank(String str)
notNull
public static String notNull(String str)
nl2br
public static String nl2br(String note)
startsWithIgnoreCase
public static boolean startsWithIgnoreCase(String str,
String prefix)
- Test if the given String starts with the specified prefix,
ignoring upper/lower case.
- Parameters:
str - the String to checkprefix - the prefix to look for- See Also:
String.startsWith(java.lang.String, int)
Copyright © 2001-2012 Paul Tuckey. All Rights Reserved.