org.archive.wayback.resourcestore
Class LocationDBResourceStore
java.lang.Object
org.archive.wayback.resourcestore.LocationDBResourceStore
- All Implemented Interfaces:
- ResourceStore
public class LocationDBResourceStore
- extends java.lang.Object
- implements ResourceStore
Simple ResourceStore implementation, which uses a ResourceFileLocationDB to
locate ARC/WARC files, that can be remote(via http://) or local paths.
- Version:
- $Date$, $Revision$
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationDBResourceStore
public LocationDBResourceStore()
retrieveResource
public Resource retrieveResource(CaptureSearchResult result)
throws ResourceNotAvailableException
- Description copied from interface:
ResourceStore
- Transform a SearchResult into a Resource
- Specified by:
retrieveResource in interface ResourceStore
- Returns:
- Resource object retrieved for the SearchResult
- Throws:
ResourceNotAvailableException
shutdown
public void shutdown()
throws java.io.IOException
- Specified by:
shutdown in interface ResourceStore
- Throws:
java.io.IOException
getDb
public ResourceFileLocationDB getDb()
setDb
public void setDb(ResourceFileLocationDB db)
Copyright © 2005-2009 Internet Archive. All Rights Reserved.