@groovy.transform.CompileStatic class ResourceUtils extends Object
Helps with loading specific resources
| Constructor and description |
|---|
ResourceUtils
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.util.Properties |
loadPropertiesFromResource(String resourcePath)Loads properties from a resource file. |
|
static String |
loadTextFromResource(String resourcePath)Loads a resource text file into memory. |
Loads properties from a resource file.
resourcePath - Resource path.