readAsString method

  1. @override
String readAsString(
  1. String absPath
)
override

Reads the file at absPath and returns its UTF-8 string content.

@param absPath Absolute path of the file to read. @return The file contents decoded as UTF-8. @throws FileSystemException When the file does not exist.

Implementation

@override
String readAsString(String absPath) => FileHelper.readFile(absPath);