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, hashCode
contentLength, exists, getFile, getFileForLastModifiedCheck, isReadable, lastModified
isOpen, toString
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 Resource
getFile
in class UrlResource
IOException
Copyright © GigaSpaces.