public class QCloudUtils
extends java.lang.Object
构造器和说明 |
---|
QCloudUtils() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
doesUriFileExist(android.net.Uri uri,
android.content.ContentResolver contentResolver) |
static long |
getUriContentLength(android.net.Uri uri,
android.content.ContentResolver contentResolver) |
static boolean |
isNotEmpty(java.lang.String str) |
static byte[] |
readBytesFromFile(java.lang.String fileName) |
static byte[] |
toBytes(java.lang.Object obj) |
static java.lang.Object |
toObject(byte[] bytes) |
static void |
writeToFile(java.lang.String fileName,
byte[] bytes) |
public static boolean isNotEmpty(java.lang.String str)
public static long getUriContentLength(android.net.Uri uri, android.content.ContentResolver contentResolver)
public static boolean doesUriFileExist(android.net.Uri uri, android.content.ContentResolver contentResolver)
public static byte[] toBytes(java.lang.Object obj)
public static java.lang.Object toObject(byte[] bytes)
public static void writeToFile(java.lang.String fileName, byte[] bytes)
public static byte[] readBytesFromFile(java.lang.String fileName)