public final class BagitFileWriter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeBagitFile(Version version,
java.nio.charset.Charset encoding,
java.nio.file.Path outputDir)
Write the bagit.txt file in required UTF-8 encoding.
|
public static void writeBagitFile(Version version, java.nio.charset.Charset encoding, java.nio.file.Path outputDir) throws java.io.IOException
version - the version of the bag to write outencoding - the encoding of the tag filesoutputDir - the root of the bagjava.io.IOException - if there was a problem writing the file