Package org.duracloud.stitch
Class FileStitcherDriver
java.lang.Object
org.duracloud.stitch.FileStitcherDriver
This class is the command-line driver for reconstituting a single content
item which has previously been chunked into DuraStore.
- Author:
- Andrew Woods Date: 9/5/11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMainvoidThis method retrieves the chunks manifest specified by the arg space-id and manifest-id (content-id), then reconstitues the chunks defined in the manifest into the original file at the arg to-directory.
-
Constructor Details
-
FileStitcherDriver
-
-
Method Details
-
stitch
This method retrieves the chunks manifest specified by the arg space-id and manifest-id (content-id), then reconstitues the chunks defined in the manifest into the original file at the arg to-directory.- Parameters:
spaceId- containing chunks manifestmanifestId- of the manifest (content-id)toDir- destination of reconstituted original content item- Throws:
Exception- on error
-
main
Main
-