@Component public class DownloaderManifestWriter extends Object
| Constructor and Description |
|---|
DownloaderManifestWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
writeJsonManifest(File directory,
String manifestFileName,
DownloaderOutputManifestDto manifest)
Serializes provided manifest object instance as JSON output, written to a file in the specified directory.
|
protected File writeJsonManifest(File directory, String manifestFileName, DownloaderOutputManifestDto manifest) throws IOException
directory - the local parent directory path where the manifest file should be createdmanifestFileName - the manifest file namemanifest - the UploaderManifest instance to serializeIOException - if an I/O error was encountered while writing the JSON manifest.Copyright © 2021. All rights reserved.