Package org.duracloud.stitch.impl
Class FileStitcherImpl
- java.lang.Object
-
- org.duracloud.stitch.impl.FileStitcherImpl
-
- All Implemented Interfaces:
FileStitcher
public class FileStitcherImpl extends Object implements FileStitcher
This class implements the FileStitcher interface.- Author:
- Andrew Woods Date: 9/2/11
-
-
Constructor Summary
Constructors Constructor Description FileStitcherImpl(DataSource dataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentgetContentFromManifest(String spaceId, String contentId, FileStitcherListener listener)ChunksManifestgetManifest(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, wait
-
Methods inherited from interface org.duracloud.stitch.FileStitcher
getContentFromManifest
-
-
-
-
Constructor Detail
-
FileStitcherImpl
public FileStitcherImpl(DataSource dataSource)
-
-
Method Detail
-
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
-
-