Package org.duracloud.manifeststitch
Class StitchedManifestGenerator
- java.lang.Object
-
- org.duracloud.manifeststitch.StitchedManifestGenerator
-
public class StitchedManifestGenerator extends Object
This class takes a manifest and generates a "stitched" view by 1) writing out all the unchunked items as they appear in the original manifest, 2) filtering out all chunks, and 3) reading and parsing from any *.dura-manifest files the checksum of the stitched file.- Author:
- Daniel Bernstein Date: 08/28/2015
-
-
Constructor Summary
Constructors Constructor Description StitchedManifestGenerator(ContentStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgenerate(String spaceId, ManifestFormat format)protected voidwriteLine(String line, BufferedWriter writer)
-
-
-
Constructor Detail
-
StitchedManifestGenerator
public StitchedManifestGenerator(ContentStore store)
-
-
Method Detail
-
generate
public InputStream generate(String spaceId, ManifestFormat format) throws IOException
- Throws:
IOException
-
writeLine
protected void writeLine(String line, BufferedWriter writer) throws IOException
- Throws:
IOException
-
-