public class StorageUtils extends Object
限定符和类型 | 方法和说明 |
---|---|
static File |
getExternalCacheDir(Context context) |
static File |
getExternalFileDir(Context context,
String uniqueName) |
static String |
getExternalStorageDir(Context context,
String appName) |
static File |
getFileDir(Context context,
String uniqueName) |
static long |
getUsableSpace(File path) |
static boolean |
isExternalStorageRemovable() |