Package org.duracloud.stitch.impl
Class FileStitcherImpl
java.lang.Object
org.duracloud.stitch.impl.FileStitcherImpl
- All Implemented Interfaces:
FileStitcher
This class implements the FileStitcher interface.
- Author:
- Andrew Woods Date: 9/2/11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentFromManifest(String spaceId, String contentId, FileStitcherListener listener) getManifest(String spaceId, String manifestId) This method returns the deserialized ChunksManifest object found in the arg spaceId with the arg manifestId.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.duracloud.stitch.FileStitcher
getContentFromManifest
-
Constructor Details
-
FileStitcherImpl
-
-
Method Details
-
getContentFromManifest
public Content getContentFromManifest(String spaceId, String contentId, FileStitcherListener listener) throws InvalidManifestException, DataSourceException - Specified by:
getContentFromManifestin interfaceFileStitcher- Throws:
InvalidManifestExceptionDataSourceException
-
getManifest
public ChunksManifest getManifest(String spaceId, String manifestId) throws InvalidManifestException Description copied from interface:FileStitcherThis method returns the deserialized ChunksManifest object found in the arg spaceId with the arg manifestId.- Specified by:
getManifestin interfaceFileStitcher- Parameters:
spaceId- of manifest content itemmanifestId- of manifest content item- Returns:
- deserialized ChunksManifest
- Throws:
InvalidManifestException- on error
-