Package org.verapdf.processor
Interface BatchProcessor
- All Superinterfaces:
AutoCloseable,Closeable,Component,Processor
- All Known Implementing Classes:
AbstractBatchProcessor,BatchFileProcessor
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
Modifier and TypeMethodDescriptionprocess(File toProcess, boolean recurse, BatchProcessingHandler resutlHandler) Process all .pdf files in a directory, optionally recursively.process(List<? extends File> toProcess, BatchProcessingHandler resutlHandler) Process a list of PDF filesMethods inherited from interface org.verapdf.component.Component
getDetailsMethods inherited from interface org.verapdf.processor.Processor
getConfig, getDependencies
-
Method Details
-
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.
-