public final class ManifestWriter
extends java.lang.Object
Manifest to the filesystem| Modifier and Type | Method and Description |
|---|---|
static void |
writePayloadManifests(java.util.Set<Manifest> manifests,
java.nio.file.Path outputDir,
java.nio.file.Path bagitRootDir,
java.nio.charset.Charset charsetName)
Write the payload manifest(s) to the output directory
|
static void |
writeTagManifests(java.util.Set<Manifest> tagManifests,
java.nio.file.Path outputDir,
java.nio.file.Path bagitRootDir,
java.nio.charset.Charset charsetName)
Write the tag manifest(s) to the output directory
|
public static void writePayloadManifests(java.util.Set<Manifest> manifests, java.nio.file.Path outputDir, java.nio.file.Path bagitRootDir, java.nio.charset.Charset charsetName) throws java.io.IOException
manifests - the payloadManifests to write outoutputDir - the root of where the manifest is being written tobagitRootDir - the path to the root of the bagcharsetName - the name of the encoding for the filejava.io.IOException - if there was a problem writing a filepublic static void writeTagManifests(java.util.Set<Manifest> tagManifests, java.nio.file.Path outputDir, java.nio.file.Path bagitRootDir, java.nio.charset.Charset charsetName) throws java.io.IOException
tagManifests - the tagManifests to write outoutputDir - the root of where the manifest is being written tobagitRootDir - the path to the root of the bagcharsetName - the name of the encoding for the filejava.io.IOException - if there was a problem writing a file