getFileLines

open fun getFileLines(filePath: String): Int

Return the number of lines of file.

Return

the number of lines of file

Parameters

filePath

The path of file.

open fun getFileLines(file: File): Int

Return the number of lines of file.

Return

the number of lines of file

Parameters

file

The file.