public interface ResourceStore
Modifier and Type | Method and Description |
---|---|
Resource |
retrieveResource(CaptureSearchResult result)
Transform a CaptureSearchResult into a Resource
|
void |
shutdown()
Release any resources used by this ResourceIndex cleanly
|
Resource retrieveResource(CaptureSearchResult result) throws ResourceNotAvailableException
result
- CaptureSearchResult which should be retrievedResourceNotAvailableException
- if the resource was unavailable
(down host, corrupted files, etc)void shutdown() throws IOException
IOException
- for usual causesCopyright © 2005–2015 IIPC. All rights reserved.