Class BagItROManifest
- java.lang.Object
- 
- org.apache.taverna.robundle.manifest.Manifest
- 
- uk.org.esciencelab.researchobjectservice.serialization.BagItROManifest
 
 
- 
 public class BagItROManifest extends org.apache.taverna.robundle.manifest.ManifestA modification of the ROBundle Manifest "bean", that allows writing the JSON-LD manifest to the appropriate directory in accordance with https://w3id.org/ro/bagit
- 
- 
Constructor SummaryConstructors Constructor Description BagItROManifest(java.nio.file.Path root)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URIrelativeToBundleRoot(java.net.URI uri)java.nio.file.PathwriteAsJsonLD()java.nio.file.PathwriteAsJsonLD(java.io.OutputStream out)Write the manifest to the given output stream.- 
Methods inherited from class org.apache.taverna.robundle.manifest.ManifestgetAggregates, getAggregation, getAggregation, getAnnotations, getAuthoredBy, getAuthoredOn, getBaseURI, getBundle, getContext, getCreatedBy, getCreatedOn, getGraph, getHistory, getId, getManifest, guessMediaType, now, populateFromBundle, setAggregates, setAnnotations, setAuthoredBy, setAuthoredOn, setBundle, setCreatedBy, setCreatedOn, setGraph, setHistory, setId, setManifest, withSlash, writeAsCombineManifest, writeAsODFManifest
 
- 
 
- 
- 
- 
Method Detail- 
writeAsJsonLDpublic java.nio.file.Path writeAsJsonLD() throws java.io.IOException- Overrides:
- writeAsJsonLDin class- org.apache.taverna.robundle.manifest.Manifest
- Throws:
- java.io.IOException
 
 - 
writeAsJsonLDpublic java.nio.file.Path writeAsJsonLD(java.io.OutputStream out) throws java.io.IOExceptionWrite the manifest to the given output stream.- Parameters:
- out- The stream to write to.
- Returns:
- The path to the manifest file.
- Throws:
- java.io.IOException
 
 - 
relativeToBundleRootpublic java.net.URI relativeToBundleRoot(java.net.URI uri) - Overrides:
- relativeToBundleRootin class- org.apache.taverna.robundle.manifest.Manifest
 
 
- 
 
-