|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.compiler.support.GrailsResourceLoader
@Deprecated public class GrailsResourceLoader extends java.lang.Object
Loads groovy files using Spring's IO abstraction.
Constructor Summary | |
GrailsResourceLoader(org.springframework.core.io.Resource[] resources)
|
Method Summary | |
---|---|
java.util.List
|
getLoadedResources()
|
org.springframework.core.io.Resource
|
getResourceForClass(java.lang.Class theClass)
Returns the Grails resource for the given class or null if it is not a Grails resource. |
org.springframework.core.io.Resource[]
|
getResources()
|
java.net.URL
|
loadGroovySource(java.lang.String className)
|
void
|
setResources(org.springframework.core.io.Resource[] resources)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Constructor Detail |
---|
public GrailsResourceLoader(org.springframework.core.io.Resource[] resources)
Method Detail |
---|
public java.util.List getLoadedResources()
public org.springframework.core.io.Resource getResourceForClass(java.lang.Class theClass)
theClass
- The class
public org.springframework.core.io.Resource[] getResources()
public java.net.URL loadGroovySource(java.lang.String className)
public void setResources(org.springframework.core.io.Resource[] resources)
Groovy Documentation