org.duracloud.manifest.impl
Class ManifestGeneratorImpl
java.lang.Object
org.duracloud.manifest.impl.ManifestGeneratorImpl
- All Implemented Interfaces:
- LocalManifestGenerator, ManifestGenerator
public class ManifestGeneratorImpl
- extends Object
- implements LocalManifestGenerator
This class manages the generation of content manifests.
- Author:
- Andrew Woods
Date: 3/27/12
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManifestGeneratorImpl
public ManifestGeneratorImpl(Auditor auditor,
String auditLogSpace,
org.apache.commons.io.FileCleaningTracker fileCleaningTracker)
initialize
public void initialize(ContentStoreManager storeManager)
- Description copied from interface:
LocalManifestGenerator
- This method initializes the Manifest Generator by providing a handle to
the content store.
- Specified by:
initialize in interface LocalManifestGenerator
- Parameters:
storeManager - storage manager
getManifest
public InputStream getManifest(String storeId,
String spaceId,
ManifestGenerator.FORMAT format,
Date asOfDate)
throws ManifestArgumentException,
ManifestEmptyException
- Description copied from interface:
ManifestGenerator
- This method generates the manifest for the given args.
- Specified by:
getManifest in interface ManifestGenerator
- Parameters:
storeId - of manifest itemsspaceId - of manifest itemsformat - of manifest (see ManifestGenerator.FORMAT)asOfDate - of manifest items (format: 'EEE, d MMM yyyy HH:mm:ss z')
- Returns:
InputStream of manifest content
- Throws:
ManifestArgumentException - if format or date are invalid
ManifestEmptyException - if no manifest is created
Copyright © 2009-2012 DuraSpace. All Rights Reserved.