public interface Resource extends InputStreamSource
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
Resource |
createRelative(String var1) |
boolean |
exists()
Whether the resource exists on the classpath
|
String |
getDescription() |
File |
getFile() |
String |
getFilename() |
URI |
getURI() |
URL |
getURL() |
boolean |
isOpen() |
boolean |
isReadable() |
long |
lastModified() |
getInputStreamboolean exists()
boolean isReadable()
boolean isOpen()
URL getURL() throws IOException
IOExceptionURI getURI() throws IOException
IOExceptionFile getFile() throws IOException
IOExceptionlong contentLength()
throws IOException
IOExceptionlong lastModified()
throws IOException
IOExceptionResource createRelative(String var1) throws IOException
var1 - IOExceptionString getFilename()
String getDescription()
Copyright © 2017. All Rights Reserved.