public class JudgeUtils extends Object
| 构造器和说明 |
|---|
JudgeUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isAirplaneMode(android.content.Context mContext)
判断 是否飞行模式
|
static boolean |
isEmpty(Integer str) |
static boolean |
isEmpty(Long str) |
static boolean |
isEmpty(String str)
判断对象是否为空
|
static String |
isEmptyGetString(String s)
判断对象是否为空
是 返回 ""
否 返回 当前值
|
static boolean |
isEqualEmpty(String str) |
static boolean |
isNetAvaliable(android.content.Context mContext)
判断 是否网络有效
|
static boolean |
isNumber(String str)
检查是否数字
|
static boolean |
isPicure(String path)
判断 本地路径是否图片
|
static boolean |
isSDCardAvailable()
判断 SD卡是否可用
|
static boolean |
isServiceWorked(android.content.Context context,
String SerbiceName)
判断自己些的一个Service是否已经运行
|
static boolean |
isWifi(android.content.Context mContext)
判断 是否连着wifi
|
public static boolean isEmpty(String str)
public static boolean isEmpty(Long str)
public static boolean isEmpty(Integer str)
public static boolean isEqualEmpty(String str)
public static boolean isNumber(String str)
public static boolean isNetAvaliable(android.content.Context mContext)
public static boolean isAirplaneMode(android.content.Context mContext)
public static boolean isWifi(android.content.Context mContext)
public static boolean isSDCardAvailable()
public static boolean isPicure(String path)
public static boolean isServiceWorked(android.content.Context context,
String SerbiceName)