getStringFromFile

open fun getStringFromFile(file: File): String

Retrieves data from a File.

Return

Data from the input File as a String.

Parameters

file

File object.

Throws

Provide log details of this exception in a catch with specifics about the operation this method was called for.