public class ZipBagSerializer extends Object implements BagSerializer
| Constructor and Description |
|---|
ZipBagSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Path |
serialize(Path root)
Serialize a BagIt bag depending on the format defined by the implementing class.
|
public ZipBagSerializer()
public Path serialize(Path root) throws IOException
BagSerializerroot directory serving as the name of the final file.serialize in interface BagSerializerroot - the Path which is the top level directory of the BagIt bagPath to the serialized BagIt bagIOException - if there is an error writing to the archiveCopyright © 2020. All rights reserved.