类 StringUtils

java.lang.Object
org.elsfs.tool.core.text.StringUtils
直接已知子类:
StrUtils

public class StringUtils extends Object
从以下版本开始:
0.0.3
作者:
zeng
  • 构造器详细资料

    • StringUtils

      public StringUtils()
  • 方法详细资料

    • isBlank

      public static boolean isBlank(String string)
      Check if the String is null or has only whitespaces.

      Modified from org.apache.commons.lang.StringUtils#isBlank(String).

      参数:
      string - String to check
      返回:
      true if the String is null or has only whitespaces
    • isNotBlank

      public static boolean isNotBlank(String string)
      Check if the String is not blank.
      参数:
      string - String to check
      返回:
      true if the String is not blank
    • isEmpty

      public static boolean isEmpty(String string)
      Check if the String is null or empty.
      参数:
      string - String to check
      返回:
      true if the String is null or empty