isImage

open fun isImage(file: File): Boolean

Return whether it is a image according to the file name.

Return

{@code true}: yes{@code false}: no

Parameters

file

The file.

open fun isImage(filePath: String): Boolean

Return whether it is a image according to the file name.

Return

{@code true}: yes{@code false}: no

Parameters

filePath

The path of file.