public class ManifestGeneratorImpl extends Object implements LocalManifestGenerator
ManifestGenerator.FORMAT
Constructor and Description |
---|
ManifestGeneratorImpl(String auditLogSpace,
org.apache.commons.io.FileCleaningTracker fileCleaningTracker) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getManifest(String storeId,
String spaceId,
ManifestGenerator.FORMAT format,
Date asOfDate)
This method generates the manifest for the given args.
|
void |
initialize(ContentStoreManager storeManager)
This method initializes the Manifest Generator by providing a handle to
the content store.
|
public ManifestGeneratorImpl(String auditLogSpace, org.apache.commons.io.FileCleaningTracker fileCleaningTracker)
public void initialize(ContentStoreManager storeManager)
LocalManifestGenerator
initialize
in interface LocalManifestGenerator
storeManager
- storage managerpublic InputStream getManifest(String storeId, String spaceId, ManifestGenerator.FORMAT format, Date asOfDate) throws ManifestArgumentException, ManifestEmptyException
ManifestGenerator
getManifest
in interface ManifestGenerator
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')InputStream
of manifest contentManifestArgumentException
- if format or date are invalidManifestEmptyException
- if no manifest is createdCopyright © 2009–2014 DuraSpace. All rights reserved.