类 TextUtils

java.lang.Object
com.iplatform.base.util.TextUtils

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

    • TextUtils

      public TextUtils()
  • 方法详细资料

    • stringToLongArrayByRegex

      public static List<Long> stringToLongArrayByRegex(String str, String regex)
    • stringToArrayByRegex

      public static List<Integer> stringToArrayByRegex(String str, String regex)
      字符串分割,转化为数组
      参数:
      str - 字符串
      regex - 分隔符有
      返回:
      List
    • capitalize

      @Deprecated public static String capitalize(String str)
      已过时。
      给定字符串首字母大写。暂时未使用,仍然用 apache-common 包。
      参数:
      str -
      返回:
    • length

      public static int length(CharSequence cs)