Interface IoModule
- All Superinterfaces:
ResourceModule
- All Known Subinterfaces:
DirectoryModule
,ZipModule
- All Known Implementing Classes:
JarResourceModule
A module which loads text files from some kind of IO, for example the file system.
-
Method Summary
Modifier and TypeMethodDescription@NotNull StringBuffer
loadString
(@NotNull ResourcePath path) Load a string buffer from the file pointed to by the specified path.Methods inherited from interface com.juliewoolie.delphi.resource.ResourceModule
getModulePaths
-
Method Details
-
loadString
Load a string buffer from the file pointed to by the specified path.- Parameters:
path
- File path- Returns:
- The read file contents
- Throws:
IOException
- If an IO exception ocurred while reading the file
-