public interface FileStitcher
| Modifier and Type | Method and Description |
|---|---|
default 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.
|
Content |
getContentFromManifest(String spaceId,
String contentId,
FileStitcherListener listener) |
ChunksManifest |
getManifest(String spaceId,
String manifestId)
This method returns the deserialized ChunksManifest object found in the
arg spaceId with the arg manifestId.
|
default Content getContentFromManifest(String spaceId, String contentId) throws InvalidManifestException
spaceId - of chunks manifestcontentId - of chunks manifestInvalidManifestException - if manifest file is named with improper
naming convention, or there is an error
retrieving the manifest.Content getContentFromManifest(String spaceId, String contentId, FileStitcherListener listener) throws InvalidManifestException
InvalidManifestExceptionChunksManifest getManifest(String spaceId, String manifestId) throws InvalidManifestException
spaceId - of manifest content itemmanifestId - of manifest content itemInvalidManifestException - on errorCopyright © 2009–2017 DuraSpace. All rights reserved.