类 StrKit

java.lang.Object
cn.sylinx.horm.util.StrKit

public class StrKit extends Object
StrKit.
  • 构造器详细资料

    • StrKit

      public StrKit()
  • 方法详细资料

    • firstCharToLowerCase

      public static String firstCharToLowerCase(String str)
      首字母变小写
      参数:
      str - String object
      返回:
      first charactor to lower case
    • firstCharToUpperCase

      public static String firstCharToUpperCase(String str)
      首字母变大写
      参数:
      str - String object
      返回:
      the String which first charactor to upper case
    • isBlank

      public static boolean isBlank(String str)
      字符串为 null 或者为 "" 时返回 true
      参数:
      str - String object
      返回:
      true or false
    • isEmpty

      public static boolean isEmpty(String str)
      是否空
      参数:
      str -
      返回:
    • isNotBlank

      public static boolean isNotBlank(String str)
      字符串不为 null 而且不为 "" 时返回 true
      参数:
      str - String object
      返回:
      true or false
    • toLowerCaseFirstOne

      public static String toLowerCaseFirstOne(String s)
    • toUpperCaseFirstOne

      public static String toUpperCaseFirstOne(String s)
    • enCodeUnderlined

      public static String enCodeUnderlined(String s)
    • deCodeUnderlined

      public static String deCodeUnderlined(String str)