public class DefaultFileReader extends Object implements FileReader
IOUtils| Constructor and Description |
|---|
DefaultFileReader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceAsString(String resourceName)
Attempts to load a resource from the file system, from a URL, or from the classpath, in that order.
|
public String getResourceAsString(String resourceName) throws IOException
FileReadergetResourceAsString in interface FileReaderresourceName - The name of the resource to loadIOException - in case of an IO errorCopyright © 2021. All rights reserved.