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, createRelativeURL, equals, getDescription, getFilename, getInputStream, getURI, getURL, hashCode, isFile
public WebsterResoruce(URL url)
public WebsterResoruce(URI uri) throws MalformedURLException
MalformedURLException
public WebsterResoruce(String path) throws MalformedURLException
MalformedURLException
public File getFile() throws IOException
WebsterFile
over the given URL.getFile
in interface org.springframework.core.io.Resource
getFile
in class org.springframework.core.io.UrlResource
IOException
Copyright © GigaSpaces.