@groovy.transform.CompileStatic class ResourceUtils extends GrailsResourceUtils
Utility methods for interacting with resources
Constructor and description |
---|
ResourceUtils
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.Iterable<java.lang.String> |
getProjectPackageNames() Obtains the package names for the project. |
|
static java.lang.Iterable<java.lang.String> |
getProjectPackageNames(java.io.File baseDir) |
|
protected static java.lang.Object |
populatePackages(java.io.File rootDir, java.io.File[] files, java.util.Collection<java.lang.String> packageNames, java.lang.String prefix) |
Obtains the package names for the project. Works at development time only, do not use at runtime.