Groovy Documentation

org.codehaus.groovy.grails.support
[Java] Class SimpleMapResourceLoader

java.lang.Object
  org.codehaus.groovy.grails.support.SimpleMapResourceLoader
All Implemented Interfaces:
org.springframework.core.io.ResourceLoader

public class SimpleMapResourceLoader
extends java.lang.Object

Simple implementation of the ResourceLoader interface that uses a Map to load resources.

Authors:
Graeme Rocher
Since:
2.0


Method Summary
java.lang.ClassLoader getClassLoader()

org.springframework.core.io.Resource getResource(java.lang.String location)

java.util.Map getResources()

 
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()
 

Method Detail

getClassLoader

public java.lang.ClassLoader getClassLoader()


getResource

public org.springframework.core.io.Resource getResource(java.lang.String location)


getResources

public java.util.Map getResources()


 

Groovy Documentation