public class FileStitcherDriver extends Object
| Constructor and Description |
|---|
FileStitcherDriver(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main
|
void |
stitch(String spaceId,
String manifestId,
File toDir)
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.
|
public FileStitcherDriver(DataSource dataSource)
public void stitch(String spaceId, String manifestId, File toDir) throws Exception
spaceId - containing chunks manifestmanifestId - of the manifest (content-id)toDir - destination of reconstituted original content itemException - on errorpublic static void main(String[] args)
Copyright © 2009–2018 DuraSpace. All rights reserved.