public class WebsterResoruce extends 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, hashCodecontentLength, exists, getFile, getFileForLastModifiedCheck, isReadable, lastModifiedisOpen, toStringpublic 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 ResourcegetFile in class UrlResourceIOExceptionCopyright © GigaSpaces.