asset.pipeline.grails.fs.EmptyResource.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asset-pipeline-plugin Show documentation
Show all versions of asset-pipeline-plugin Show documentation
The Grace Asset-Pipeling plugin providing asset transpiling to grace.
package asset.pipeline.grails.fs
import org.springframework.core.io.Resource
class EmptyResource implements Resource {
boolean exists() {
return false
}
Resource createRelative(String relativePath) {}
String getDescription() {}
File getFile() {}
String getFilename() {}
URI getURI() {}
URL getURL() {}
InputStream getInputStream() {}
boolean isOpen() {
return false
}
boolean isReadable() {
return false
}
long contentLength() {
return 0
}
long lastModified() {
return 0
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy