readFile2List

open fun readFile2List(filePath: String): List<String>

Return the lines in file.

Return

the lines in file

Parameters

filePath

The path of file.

open fun readFile2List(filePath: String, charsetName: String): List<String>

Return the lines in file.

Return

the lines in file

Parameters

filePath

The path of file.

charsetName

The name of charset.

open fun readFile2List(file: File): List<String>

Return the lines in file.

Return

the lines in file

Parameters

file

The file.

open fun readFile2List(file: File, charsetName: String): List<String>

Return the lines in file.

Return

the lines in file

Parameters

file

The file.

charsetName

The name of charset.

open fun readFile2List(filePath: String, st: Int, end: Int): List<String>

Return the lines in file.

Return

the lines in file

Parameters

filePath

The path of file.

st

The line's index of start.

end

The line's index of end.

open fun readFile2List(filePath: String, st: Int, end: Int, charsetName: String): List<String>

Return the lines in file.

Return

the lines in file

Parameters

filePath

The path of file.

st

The line's index of start.

end

The line's index of end.

charsetName

The name of charset.

open fun readFile2List(file: File, st: Int, end: Int): List<String>

Return the lines in file.

Return

the lines in file

Parameters

file

The file.

st

The line's index of start.

end

The line's index of end.

open fun readFile2List(file: File, st: Int, end: Int, charsetName: String): List<String>

Return the lines in file.

Return

the lines in file

Parameters

file

The file.

st

The line's index of start.

end

The line's index of end.

charsetName

The name of charset.