@FunctionalInterface public interface BagSerializer
| Modifier and Type | Method and Description |
|---|---|
Path |
serialize(Path root)
Serialize a BagIt bag depending on the format defined by the implementing class.
|
Path serialize(Path root) throws IOException
root directory serving as the name of the final file.root - 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.