public class DevelopmentResourceLoader
extends org.springframework.core.io.DefaultResourceLoader
| Constructor and Description |
|---|
DevelopmentResourceLoader() |
DevelopmentResourceLoader(GrailsApplication application) |
DevelopmentResourceLoader(GrailsApplication application,
java.lang.String baseLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getRealLocationInProject(java.lang.String location)
Retrieves the real location of a GSP within a Grails project.
|
org.springframework.core.io.Resource |
getResource(java.lang.String location) |
public DevelopmentResourceLoader(GrailsApplication application)
public DevelopmentResourceLoader()
public DevelopmentResourceLoader(GrailsApplication application, java.lang.String baseLocation)
public org.springframework.core.io.Resource getResource(java.lang.String location)
getResource in interface org.springframework.core.io.ResourceLoadergetResource in class org.springframework.core.io.DefaultResourceLoaderprotected java.lang.String getRealLocationInProject(java.lang.String location)
location - The location of the GSP at deployment time