|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceRetriever
Interface that must be implemented by Web resource retrievers.
Method Summary | |
---|---|
java.util.List<RetrievalElement> |
getResource(java.net.URI uri)
Retrieves the Web resource identified by the URI. |
boolean |
isSchemeSupported(java.net.URI uri)
Returns true when the scheme of the given URI is supported
by the resource retriever. |
Method Detail |
---|
java.util.List<RetrievalElement> getResource(java.net.URI uri)
The exact class of the returned RetrievalElement
elements may
depend on the scheme and Content-Type of the resource being retrieved.
uri
- Absolute URI of the Web resource to retrieve
null
when the
scheme of the URI is not supported.boolean isSchemeSupported(java.net.URI uri)
true
when the scheme of the given URI is supported
by the resource retriever.
uri
- Absolute URI of the Web resource to check
true
when the scheme is supported,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |