Class BagItROWriter
- java.lang.Object
- 
- uk.org.esciencelab.researchobjectservice.serialization.BagWriter
- 
- uk.org.esciencelab.researchobjectservice.serialization.BagItROWriter
 
 
- 
 public class BagItROWriter extends BagWriter A class for writing all necessary tag files etc. for a given Bag as a BagIt RO, with an RO manifest.
- 
- 
Field Summary- 
Fields inherited from class uk.org.esciencelab.researchobjectservice.serialization.BagWriterbag, tagFileChecksums
 
- 
 - 
Constructor SummaryConstructors Constructor Description BagItROWriter(Bag bag)Create a new BagIt RO writer for the given bag.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwriteTagFiles()- 
Methods inherited from class uk.org.esciencelab.researchobjectservice.serialization.BagWriterupdateChecksumMap, write, writeBagInfo, writeBagIt, writeFetch, writeManifest, writeTagManifest
 
- 
 
- 
- 
- 
Constructor Detail- 
BagItROWriterpublic BagItROWriter(Bag bag) Create a new BagIt RO writer for the given bag.- Parameters:
- bag- The bag to write.
 
 
- 
 - 
Method Detail- 
writeTagFilesprotected void writeTagFiles() throws java.io.IOException, java.security.NoSuchAlgorithmException- Overrides:
- writeTagFilesin class- BagWriter
- Throws:
- java.io.IOException
- java.security.NoSuchAlgorithmException
 
 
- 
 
-