|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.core.io.SpringResource
public class SpringResource extends java.lang.Object
Bridges Grails and Spring Resource APIs
Constructor Summary | |
SpringResource(org.springframework.core.io.Resource springResource)
|
Method Summary | |
---|---|
long
|
contentLength()
|
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
|
isReadable()
|
long
|
lastModified()
|
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 SpringResource(org.springframework.core.io.Resource springResource)
Method Detail |
---|
public long contentLength()
public Resource createRelative(java.lang.String relativePath)
public boolean exists()
public java.lang.String getDescription()
public java.io.File getFile()
public java.lang.String getFilename()
public java.io.InputStream getInputStream()
public java.net.URI getURI()
public java.net.URL getURL()
public boolean isReadable()
public long lastModified()
Groovy Documentation