Utility methods for interacting with resources
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) |
Methods inherited from class | Name |
---|---|
class GrailsResourceUtils |
appendPiecesForUri, applyRelativePath, classPackageAsResourcePath, cleanPath, extractJarFileURL, getAppDir, getArtefactDirectory, getClassName, getClassName, getClassNameForClassFile, getFile, getFile, getFile, getFilename, getPathFromBaseDir, getPathFromRoot, getRelativeInsideWebInf, getStaticResourcePathForResource, getViewsDir, instantiateFromConfig, instantiateFromFlatConfig, isDomainClass, isFileURL, isGrailsPath, isGrailsResource, isJarURL, isProjectSource, isProjectSource, toURI, toURI, useCachesIfNecessary |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Obtains the package names for the project. Works at development time only, do not use at runtime.