| java.lang.Object clime.messadmin.utils.StringUtils
StringUtils | public class StringUtils (Code) | | Copy of org.apache.commons.lang.StringUtils 2.1
author: Cédrik LIME |
Method Summary | |
public static String | escapeXml(String buffer) Copied and adapted from org.apache.taglibs.standard.tag.common.core.Util v1.1.2
Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml(). | public static boolean | isBlank(String str) Checks if a String is whitespace, empty ("") or null. | public static boolean | isEmpty(String str) Checks if a String is not empty ("") and not null. | public static boolean | isNotBlank(String str) Checks if a String is not empty (""), not null and not whitespace only. | public static boolean | isNotEmpty(String str) Checks if a String is not empty ("") and not null. |
escapeXml | public static String escapeXml(String buffer)(Code) | | Copied and adapted from org.apache.taglibs.standard.tag.common.core.Util v1.1.2
Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml().
|
isBlank | public static boolean isBlank(String str)(Code) | | Checks if a String is whitespace, empty ("") or null.
Parameters: str - the String to check, may be null true if the String is null, empty or whitespace |
isEmpty | public static boolean isEmpty(String str)(Code) | | Checks if a String is not empty ("") and not null.
Parameters: str - the String to check, may be null true if the String is not empty or null |
isNotBlank | public static boolean isNotBlank(String str)(Code) | | Checks if a String is not empty (""), not null and not whitespace only.
Parameters: str - the String to check, may be null true if the String is not empty and not null and not whitespace |
isNotEmpty | public static boolean isNotEmpty(String str)(Code) | | Checks if a String is not empty ("") and not null.
Parameters: str - the String to check, may be null true if the String is not empty and not null |
|
|