public class TarGzBagSerializer extends Object implements BagSerializer
| Constructor and Description |
|---|
TarGzBagSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Path |
serialize(Path root)
Serialize a BagIt bag depending on the format defined by the implementing class.
|
public TarGzBagSerializer()
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.