FileUtils

open class FileUtils

Functions

Link copied to clipboard
open fun bitmapToFile(@NonNull image: Bitmap, @NonNull dest: File, quality: Int, @NonNull format: Bitmap.CompressFormat): File
Link copied to clipboard
open fun copyFile(@NonNull src: File, @NonNull dst: File)
Link copied to clipboard
open fun createCachedDirFile(@NonNull context: Context, @NonNull fileName: String): File
Link copied to clipboard
open fun createChannelCacheFile(@NonNull context: Context, @NonNull channelUrl: String, @NonNull fileName: String): File
Link copied to clipboard
open fun createDeletableFile(@NonNull context: Context, @NonNull fileName: String): File
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun fileToUri(@NonNull context: Context, @NonNull file: File): Uri
Link copied to clipboard
open fun getChannelFileCacheDir(@NonNull context: Context, @NonNull channelUrl: String): File
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDownloadFileFromMessage(@NonNull message: FileMessage): File
Link copied to clipboard
Link copied to clipboard
open fun getVoiceFile(@NonNull context: Context, @NonNull message: FileMessage): File
Link copied to clipboard
open fun hasDownloadFileFromMessage(@NonNull message: FileMessage): Boolean
Link copied to clipboard
open fun removeDeletableDir(@NonNull context: Context)
Link copied to clipboard
open fun saveFile(@NonNull context: Context, @NonNull src: File, @NonNull dest: File): File
open fun saveFile(@NonNull context: Context, @NonNull src: File, @NonNull type: String, @NonNull fileName: String)
Link copied to clipboard
open fun uriToFile(@NonNull context: Context, @NonNull uri: Uri): File
Link copied to clipboard
open fun uriToPath(@NonNull context: Context, @NonNull uri: Uri): String