@groovy.transform.CompileStatic class GrailsResource extends java.lang.Object implements org.springframework.core.io.Resource
Bridges Grails and Spring resource APIs
Constructor and description |
---|
GrailsResource
(Resource resource) |
Type Params | Return Type | Name and description |
---|---|---|
|
long |
contentLength() |
|
org.springframework.core.io.Resource |
createRelative(java.lang.String relativePath) |
|
boolean |
exists() |
|
java.lang.String |
getDescription() |
|
java.io.File |
getFile() |
|
java.lang.String |
getFilename() |
|
java.io.InputStream |
getInputStream() |
|
java.net.URI |
getURI() |
|
java.net.URL |
getURL() |
|
boolean |
isOpen() |
|
boolean |
isReadable() |
|
long |
lastModified() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), 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() |
Groovy Documentation