|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceIndex
Transforms a WaybackRequest into a ResourceResults.
| Method Summary | |
|---|---|
SearchResults |
query(WaybackRequest request)
Transform a WaybackRequest into a ResourceResults. |
void |
shutdown()
Release any resources used by this ResourceIndex cleanly |
| Method Detail |
|---|
SearchResults query(WaybackRequest request)
throws ResourceIndexNotAvailableException,
ResourceNotInArchiveException,
BadQueryException,
AccessControlException
request - WaybackRequest object from RequestParser
ResourceIndexNotAvailableException - if the ResourceIndex
is not available (remote host down, local files missing, etc)
ResourceNotInArchiveException - if the ResourceIndex could be
contacted, but no SearchResult objects matched the request
BadQueryException - if the WaybackRequest is lacking information
required to make a reasonable search of this ResourceIndex
AccessControlException - if SearchResult objects actually matched,
but could not be returned due to AccessControl restrictions
(robots.txt documents, Administrative URL blocks, etc)
void shutdown()
throws IOException
IOException - for usual causes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||