public final class BagWriter
extends java.lang.Object
Bag| Modifier and Type | Method and Description |
|---|---|
static void |
write(Bag bag,
java.nio.file.Path outputDir)
Write the bag out to the specified directory.
|
public static void write(Bag bag, java.nio.file.Path outputDir) throws java.io.IOException, java.security.NoSuchAlgorithmException
bag - the Bag object to write outoutputDir - the output directory that will become the root of the bagjava.io.IOException - if there is a problem writing a filejava.security.NoSuchAlgorithmException - when trying to generate a MessageDigest which is used during update.