Package org.verapdf.processor
Interface BatchProcessor
-
- All Superinterfaces:
AutoCloseable,Closeable,Component,Processor
- All Known Implementing Classes:
AbstractBatchProcessor,BatchFileProcessor
public interface BatchProcessor extends Processor
The veraPDF batch processor, used to process multiple files.- Version:
- 0.1 Created 8 Nov 2016:22:55:35
- Author:
- Carl Wilson carlwilson AT github
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchSummaryprocess(File toProcess, boolean recurse, BatchProcessingHandler resutlHandler)Process all .pdf files in a directory, optionally recursively.BatchSummaryprocess(List<? extends File> toProcess, BatchProcessingHandler resutlHandler)Process a list of PDF files-
Methods inherited from interface org.verapdf.component.Component
getDetails
-
Methods inherited from interface org.verapdf.processor.Processor
getConfig, getDependencies
-
-
-
-
Method Detail
-
process
BatchSummary process(List<? extends File> toProcess, BatchProcessingHandler resutlHandler) throws VeraPDFException
Process a list of PDF files- Parameters:
toProcess- aListofFiles to processresutlHandler- theBatchProcessingHandlerthat will be used to process the results- Returns:
- a
BatchSummarythat reports the details of the batch process - Throws:
VeraPDFException- when an error occurs during processing.
-
process
BatchSummary process(File toProcess, boolean recurse, BatchProcessingHandler resutlHandler) throws VeraPDFException
Process all .pdf files in a directory, optionally recursively.- Parameters:
toProcess- aFilethat denotes a directory to processrecurse- settrueto recurse into sub-directories, false if recursion not required.resutlHandler- theBatchProcessingHandlerthat will be used to process the results- Returns:
- a
BatchSummarythat reports the details of the batch process - Throws:
VeraPDFException- when an error occurs during processing.
-
-