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() |
getInputStream
boolean exists()
boolean isReadable()
boolean isOpen()
URL getURL() throws IOException
IOException
URI getURI() throws IOException
IOException
File getFile() throws IOException
IOException
long contentLength() throws IOException
IOException
long lastModified() throws IOException
IOException
Resource createRelative(String var1) throws IOException
var1
- IOException
String getFilename()
String getDescription()
Copyright © 2020. All rights reserved.