模块 okhttps

类 Platform

java.lang.Object
com.ejlchina.okhttps.Platform

public class Platform extends Object
  • 字段详细资料

    • ANDROID_SDK_INT

      public static final int ANDROID_SDK_INT
      Android 的 SDK 版本,若不是 Android 平台,则为 0
  • 构造器详细资料

    • Platform

      public Platform()
  • 方法详细资料

    • logInfo

      public static void logInfo(String message)
    • logError

      public static void logError(String message)
    • logError

      public static void logError(String message, Throwable t)
    • forEach

      public static <K, V> void forEach(Map<K,V> map, BiConsumer<? super K,? super V> action)
    • isBlank

      public static boolean isBlank(String str)
      判断字符串是否为 null 或 空
      参数:
      str - 待判断的字符串
      返回:
      str 是否是空白字符串
      从以下版本开始:
      v3.5.0
    • isNotBlank

      public static boolean isNotBlank(String str)
      判断字符串是否非空
      参数:
      str - 待判断的字符串
      返回:
      str 是否是非空字符串
      从以下版本开始:
      v3.5.0