Class StringUtil

java.lang.Object
tk.mybatis.mapper.util.StringUtil

public class StringUtil extends Object
Created by liuzh_3nofxnp on 2015/8/26.
  • Constructor Details

    • StringUtil

      public StringUtil()
  • Method Details

    • isEmpty

      public static boolean isEmpty(String str)
      Parameters:
      str -
      Returns:
    • isNotEmpty

      public static boolean isNotEmpty(String str)
      非空
      Parameters:
      str -
      Returns:
    • convertByStyle

      public static String convertByStyle(String str, Style style)
      根据指定的样式进行转换
      Parameters:
      str -
      style -
      Returns:
    • camelhumpToUnderline

      public static String camelhumpToUnderline(String str)
      将驼峰风格替换为下划线风格
    • underlineToCamelhump

      public static String underlineToCamelhump(String str)
      将下划线风格替换为驼峰风格
    • isUppercaseAlpha

      public static boolean isUppercaseAlpha(char c)
    • isLowercaseAlpha

      public static boolean isLowercaseAlpha(char c)
    • toUpperAscii

      public static char toUpperAscii(char c)
    • toLowerAscii

      public static char toLowerAscii(char c)