xyz.proteanbear.template.utils.StringUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PbPOITemplate Show documentation
Show all versions of PbPOITemplate Show documentation
The tools is created for easy use of Apache POI.
package xyz.proteanbear.template.utils;
/**
* String tool
*
* @author ProteanBear
*/
public class StringUtils
{
/**
* Check if the string is blank.
*
* @param string the string.
* @return If the string is blank,return true.
*/
public static boolean isBlank(String string)
{
return (string == null || !string.trim().isEmpty());
}
}