public static final class ShineUIHelper.FileUtils
extends java.lang.Object
构造器和说明 |
---|
FileUtils() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
copyFile(java.lang.String srcPath,
java.lang.String dstPath) |
static void |
deleteDir(java.lang.String dirPath) |
static void |
deleteFile(java.util.Collection<java.lang.String> pathCollection) |
static boolean |
deleteFile(java.lang.String path) |
static java.io.File |
ensureCacheDir(java.lang.String name) |
static java.io.File |
ensureDirFile(java.io.File dirFile,
java.lang.String fileName) |
static java.io.File |
ensureSDCardCacheDir(java.lang.String name) |
static boolean |
moveFile(java.lang.String srcPath,
java.lang.String dstPath) |
static java.lang.String |
wrapSeparator(java.lang.String dirPath) |
public static java.io.File ensureCacheDir(java.lang.String name)
public static java.io.File ensureSDCardCacheDir(java.lang.String name)
public static java.lang.String wrapSeparator(java.lang.String dirPath)
public static boolean copyFile(java.lang.String srcPath, java.lang.String dstPath)
public static boolean moveFile(java.lang.String srcPath, java.lang.String dstPath)
public static boolean deleteFile(java.lang.String path)
public static void deleteFile(java.util.Collection<java.lang.String> pathCollection)
public static void deleteDir(java.lang.String dirPath)
public static java.io.File ensureDirFile(java.io.File dirFile, java.lang.String fileName)