getFileName

open fun getFileName(file: File): String

Return the name of file.

Return

the name of file

Parameters

file

The file.

open fun getFileName(filePath: String): String

Return the name of file.

Return

the name of file

Parameters

filePath

The path of file.