public class WebsterResoruce
extends org.springframework.core.io.UrlResource
UrlResource in order to allow to return WebsterFile for getFile() method.
WebsterFile allows to list "files" over webster
http service. This allows to perform different scanning over the processing unit content.
| Constructor and Description |
|---|
WebsterResoruce(String path) |
WebsterResoruce(URI uri) |
WebsterResoruce(URL url) |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Returns a
WebsterFile over the given URL. |
createRelative, equals, getDescription, getFilename, getInputStream, getURI, getURL, hashCodepublic WebsterResoruce(URL url)
public WebsterResoruce(URI uri) throws MalformedURLException
MalformedURLExceptionpublic WebsterResoruce(String path) throws MalformedURLException
MalformedURLExceptionpublic File getFile() throws IOException
WebsterFile over the given URL.getFile in interface org.springframework.core.io.ResourcegetFile in class org.springframework.core.io.UrlResourceIOExceptionCopyright © GigaSpaces.