public interface Resource extends InputStreamSource
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
Resource |
createRelative(java.lang.String var1) |
boolean |
exists()
Whether the resource exists on the classpath
|
java.lang.String |
getDescription() |
java.io.File |
getFile() |
java.lang.String |
getFilename() |
java.net.URI |
getURI() |
java.net.URL |
getURL() |
boolean |
isOpen() |
boolean |
isReadable() |
long |
lastModified() |
getInputStreamboolean exists()
boolean isReadable()
boolean isOpen()
java.net.URL getURL()
throws java.io.IOException
java.io.IOExceptionjava.net.URI getURI()
throws java.io.IOException
java.io.IOExceptionjava.io.File getFile()
throws java.io.IOException
java.io.IOExceptionlong contentLength()
throws java.io.IOException
java.io.IOExceptionlong lastModified()
throws java.io.IOException
java.io.IOExceptionResource createRelative(java.lang.String var1) throws java.io.IOException
var1 - java.io.IOExceptionjava.lang.String getFilename()
java.lang.String getDescription()
Copyright © 2019. All rights reserved.