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
public class DuraStoreSpecifiedRetrievalSource extends DuraStoreStitchingRetrievalSource
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
Constructors Constructor Description DuraStoreSpecifiedRetrievalSource(ContentStore store, List<String> singleSpaceList, Iterator<String> specifiedContentIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgetNextSpace()-
Methods inherited from class org.duracloud.retrieval.source.DuraStoreStitchingRetrievalSource
doGetContent, doGetContentFromManifest, getNextContentItem, getSourceChecksum
-
Methods inherited from class org.duracloud.retrieval.source.DuraStoreRetrievalSource
getSourceContent, getSourceProperties, verifySpaceIds
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.duracloud.retrieval.source.RetrievalSource
getSourceContent
-
-
-
-
Constructor Detail
-
DuraStoreSpecifiedRetrievalSource
public DuraStoreSpecifiedRetrievalSource(ContentStore store, List<String> singleSpaceList, Iterator<String> specifiedContentIds)
-
-
Method Detail
-
getNextSpace
protected void getNextSpace()
- Overrides:
getNextSpacein classDuraStoreRetrievalSource
-
-