FileUtils

public class FileUtils

Author

Peli

paulburke (ipaulpro)

Functions

Link copied to clipboard
public static boolean copyFile(FileInputStream fileInputStream, String outFilePath)
Copies one file into the other with the given paths.
Link copied to clipboard
public static String extSuffix(InputStream input)
Link copied to clipboard
public static String getCreateFileName(String prefix)
根据时间戳创建文件名
Link copied to clipboard
public static String getDataColumn(Context context, Uri uri, String selection, Array<String> selectionArgs)
Get the value of the data column for this Uri.
Link copied to clipboard
public static String getPath(Context context, Uri uri)
Get a file path from a Uri.
Link copied to clipboard
public static boolean isDownloadsDocument(Uri uri)
Link copied to clipboard
public static boolean isExternalStorageDocument(Uri uri)
Link copied to clipboard
public static boolean isGif(String mimeType)
是否是gif
Link copied to clipboard
public static boolean isGifForSuffix(String suffix)
Link copied to clipboard
public static boolean isGooglePhotosUri(Uri uri)
Link copied to clipboard
public static boolean isHttp(String path)
是否是网络图片
Link copied to clipboard
public static boolean isMediaDocument(Uri uri)