public class BatchLocalFiles extends Object
Constructor and Description |
---|
BatchLocalFiles(File[] incomingFiles)
Given an array of files, constructs a BatchLocalFiles instance to be used in running a batch job over those
files.
|
Modifier and Type | Method and Description |
---|---|
void |
run(FileBatchJob job,
OutputStream os)
Run the given job on the files associated with this object.
|
public BatchLocalFiles(File[] incomingFiles) throws ArgumentNotValid
incomingFiles
- The files that should be used processed by the batchjobArgumentNotValid
- if incomingFiles is null or contains a null entrypublic void run(FileBatchJob job, OutputStream os)
job
- - the job to be executedos
- - the OutputStream to which output data is writtenCopyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.