readContent

abstract fun readContent(file: Path): String(source)

Read the content of file

Return

file's content as String.

Throws

IOException

if file doesn't exists or if something went wrong while reading the file.