public class FileStitcherImpl extends Object implements FileStitcher
| Constructor and Description |
|---|
FileStitcherImpl(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
Content |
getContentFromManifest(String spaceId,
String contentId)
This method retrieves the original content item as defined by the chunks
manifest object found in the arg space-id and content-id.
|
ChunksManifest |
getManifest(String spaceId,
String manifestId)
This method returns the deserialized ChunksManifest object found in the
arg spaceId with the arg manifestId.
|
public FileStitcherImpl(DataSource dataSource)
public Content getContentFromManifest(String spaceId, String contentId) throws InvalidManifestException
FileStitchergetContentFromManifest in interface FileStitcherspaceId - of chunks manifestcontentId - of chunks manifestInvalidManifestException - if manifest file is named with improper
naming convention, or there is an error
retrieving the manifest.public ChunksManifest getManifest(String spaceId, String manifestId) throws InvalidManifestException
FileStitchergetManifest in interface FileStitcherspaceId - of manifest content itemmanifestId - of manifest content itemInvalidManifestException - on errorCopyright © 2009–2016 DuraSpace. All rights reserved.