public final class Util
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static android.content.Context |
sAppContext |
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getFileSize(android.content.ContentResolver resolver,
android.net.Uri uri) |
static int |
getFileSize(java.lang.String filePath) |
static boolean |
isAppBrandMsg(int type) |
static boolean |
isNativeGameMsg(int type) |
static boolean |
isNullOrNil(java.lang.String object) |
static int |
parseInt(java.lang.String string,
int def) |
static java.util.concurrent.ThreadPoolExecutor |
threadPoolExecutor() |
public static java.util.concurrent.ThreadPoolExecutor threadPoolExecutor()
public static boolean isNullOrNil(java.lang.String object)
public static int parseInt(java.lang.String string,
int def)
public static boolean isAppBrandMsg(int type)
public static boolean isNativeGameMsg(int type)
public static int getFileSize(java.lang.String filePath)
public static int getFileSize(android.content.ContentResolver resolver,
android.net.Uri uri)