public final class PayloadWriter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writePayloadFiles(java.util.Set<Manifest> payloadManifests,
java.util.List<FetchItem> fetchItems,
java.nio.file.Path outputDir,
java.nio.file.Path bagDataDir)
Write the payload file(s) to the output directory
|
public static void writePayloadFiles(java.util.Set<Manifest> payloadManifests, java.util.List<FetchItem> fetchItems, java.nio.file.Path outputDir, java.nio.file.Path bagDataDir) throws java.io.IOException
payloadManifests - the set of objects representing the payload manifestsfetchItems - the list of items to exclude from writing in the output directory because they will be fetchedoutputDir - the data directory of the bagbagDataDir - the data directory of the bagjava.io.IOException - if there was a problem writing a file