|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.wayback.NetarchiveResourceStore
public class NetarchiveResourceStore
This is the connector between netarchivesuite and wayback. And is based on PrototypeNetarchiveResourceStore.java which was made as a prototype connector.
Constructor Summary | |
---|---|
NetarchiveResourceStore()
Constuctor. |
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 NetarchiveResourceStore()
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
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 |