Package org.duracloud.retrieval.source
Class DuraStoreSpecifiedRetrievalSource
java.lang.Object
org.duracloud.retrieval.source.DuraStoreRetrievalSource
org.duracloud.retrieval.source.DuraStoreStitchingRetrievalSource
org.duracloud.retrieval.source.DuraStoreSpecifiedRetrievalSource
- All Implemented Interfaces:
RetrievalSource
This class implements the RetrievalSource interface with support for retrieving
content by content IDs that are specified in a file. The format of the file
containing content IDs should be one content ID per line.
This retrieval source only operates on one store space.
Since this class extends DuraStoreStitchingRetrievalSource it can handle retrieving
chunked content.
- Author:
- Erik Paulsson Date: 7/2/13
-
Field Summary
Fields inherited from class org.duracloud.retrieval.source.DuraStoreRetrievalSource
contentStore, currentContentList, currentSpaceId, spaceIds -
Constructor Summary
ConstructorsConstructorDescriptionDuraStoreSpecifiedRetrievalSource(ContentStore store, List<String> singleSpaceList, Iterator<String> specifiedContentIds) -
Method Summary
Methods inherited from class org.duracloud.retrieval.source.DuraStoreStitchingRetrievalSource
doGetContent, doGetContentFromManifest, getNextContentItem, getSourceChecksumMethods inherited from class org.duracloud.retrieval.source.DuraStoreRetrievalSource
getSourceContent, getSourceProperties, verifySpaceIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.duracloud.retrieval.source.RetrievalSource
getSourceContent
-
Constructor Details
-
DuraStoreSpecifiedRetrievalSource
public DuraStoreSpecifiedRetrievalSource(ContentStore store, List<String> singleSpaceList, Iterator<String> specifiedContentIds)
-
-
Method Details
-
getNextSpace
protected void getNextSpace()- Overrides:
getNextSpacein classDuraStoreRetrievalSource
-