- All Known Implementing Classes:
FileReader
public interface IFileReader
-
Method Summary
-
Method Details
-
readFile
Reads a file from disk.- Throws:
ForbiddenUseException- if the requested path includes bad file patterns, mainly ones to escape from the intended directories (like ".." or "/", etc)IllegalArgumentException- if the path is blankIOException
-