Java Code Examples for org.apache.commons.lang3.StringUtils.stripToEmpty()

The following are Jave code examples for showing how to use stripToEmpty() of the org.apache.commons.lang3.StringUtils class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: wasexport   File: ExcelUtil.java   Source Code and License Vote up 2 votes
/**
 * 判断字符是否为空
 * 
 * @param str
 * @return
 */
private static String checkNull(String str) {

	return StringUtils.stripToEmpty(str);
}