Package org.duracloud.chunk.manifest
Class ChunksManifest
- java.lang.Object
-
- org.duracloud.chunk.manifest.ChunksManifestBean
-
- org.duracloud.chunk.manifest.ChunksManifest
-
public class ChunksManifest extends ChunksManifestBean
- Author:
- Andrew Woods Date: Feb 7, 2010
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.duracloud.chunk.manifest.ChunksManifestBean
ChunksManifestBean.ManifestEntry, ChunksManifestBean.ManifestHeader
-
-
Field Summary
Fields Modifier and Type Field Description static StringchunkSuffixstatic StringmanifestSuffixstatic StringSCHEMA_VERSION
-
Constructor Summary
Constructors Constructor Description ChunksManifest(String sourceContentId, String sourceMimetype, long sourceByteSize)ChunksManifest(ChunksManifestBean bean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(String chunkId, String chunkMD5, long chunkSize)KnownLengthInputStreamgetBody()StringgetManifestId()StringgetMimetype()StringnextChunkId()intparseIndex(String chunkId)voidsetMD5OfSourceContent(String md5)-
Methods inherited from class org.duracloud.chunk.manifest.ChunksManifestBean
getEntries, getHeader, setEntries, setHeader
-
-
-
-
Field Detail
-
SCHEMA_VERSION
public static final String SCHEMA_VERSION
- See Also:
- Constant Field Values
-
chunkSuffix
public static final String chunkSuffix
- See Also:
- Constant Field Values
-
manifestSuffix
public static final String manifestSuffix
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChunksManifest
public ChunksManifest(ChunksManifestBean bean)
-
-
Method Detail
-
setMD5OfSourceContent
public void setMD5OfSourceContent(String md5)
-
getManifestId
public String getManifestId()
-
nextChunkId
public String nextChunkId()
-
parseIndex
public int parseIndex(String chunkId)
-
getBody
public KnownLengthInputStream getBody()
-
getMimetype
public String getMimetype()
-
-