service / com.scurab.android.uitor.tools / FileSystemTools

FileSystemTools

open class FileSystemTools

Constructors

<init>

FileSystemTools()

Properties

BUFFER

static val BUFFER: Int

Functions

copyFile

Copy data from input stream into target file

open static fun copyFile(inputStream: InputStream!, targetFile: String!): Unit

deleteFolder

Delete folder including internal files/folders

open static fun deleteFolder(folder: File!): Unit

get

Get root folders

open static fun get(context: Context!): MutableList<FSItem!>!

Get items for specific location

open static fun get(location: File!): MutableList<FSItem!>!

getExtension

Returns file extension or null if there is no extension

open static fun getExtension(f: File!): String!