public interface Resource extends InputStreamSource
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
Resource |
createRelative(java.lang.String relativePath) |
boolean |
exists() |
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 relativePath) throws java.io.IOException
java.io.IOExceptionjava.lang.String getFilename()
java.lang.String getDescription()