|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.wayback.NetarchiveCacheResourceStore
public class NetarchiveCacheResourceStore
This is the connector between netarchivesuite and wayback. And is based on the NetarchiveResourceStore, and the implementations of ResourceStore distributed with wayback-1.4.2.
Constructor Summary | |
---|---|
NetarchiveCacheResourceStore()
Constructor. |
Method Summary | |
---|---|
org.archive.wayback.core.Resource |
retrieveResource(org.archive.wayback.core.CaptureSearchResult captureSearchResult)
Transforms search result into a resource, according to the ResourceStore interface. |
void |
shutdown()
Shuts down this resource store, closing the arcrepository client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetarchiveCacheResourceStore()
Method Detail |
---|
public org.archive.wayback.core.Resource retrieveResource(org.archive.wayback.core.CaptureSearchResult captureSearchResult) throws org.archive.wayback.exception.ResourceNotAvailableException
retrieveResource
in interface org.archive.wayback.ResourceStore
captureSearchResult
- the search result.
org.archive.wayback.exception.ResourceNotAvailableException
- if something went wrong fetching
the record.public void shutdown() throws java.io.IOException
shutdown
in interface org.archive.wayback.ResourceStore
java.io.IOException
- if an exception ocurred while closing the client.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |