public class FilesUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
readResourceAsText(java.lang.String path)
Returns a string with the contents of the specified resource file.
|
public static java.lang.String readResourceAsText(java.lang.String path)
throws java.net.URISyntaxException,
java.io.IOException
path - the path to the resource file to readjava.net.URISyntaxExceptionjava.io.IOException