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
FileReader
getResourceAsString
in interface FileReader
resourceName
- The name of the resource to loadIOException
- in case of an IO errorCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.