asset.pipeline.springboot.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-spring-boot Show documentation
Show all versions of asset-pipeline-spring-boot Show documentation
JVM Asset Pipeline Gradle Spring Boot Adapter.
package asset.pipeline.springboot
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 - 2025 Weber Informatics LLC | Privacy Policy