Package org.verapdf.processor
Class AbstractBatchHandler
- java.lang.Object
-
- org.verapdf.processor.AbstractBatchHandler
-
- All Implemented Interfaces:
Closeable,AutoCloseable,BatchProcessingHandler
- Direct Known Subclasses:
AbstractXmlHandler
public abstract class AbstractBatchHandler extends Object implements BatchProcessingHandler
- Version:
- 0.1 Created 10 Nov 2016:20:54:24
- Author:
- Carl Wilson carlwilson AT github
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBatchHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleResult(ProcessorResult result)This method is called by theBatchProcessorafter each item in the batch is processed allowing the implementor to take specific action for each item processed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.processor.BatchProcessingHandler
handleBatchEnd, handleBatchStart
-
-
-
-
Method Detail
-
handleResult
public void handleResult(ProcessorResult result) throws VeraPDFException
Description copied from interface:BatchProcessingHandlerThis method is called by theBatchProcessorafter each item in the batch is processed allowing the implementor to take specific action for each item processed.- Specified by:
handleResultin interfaceBatchProcessingHandler- Parameters:
result- theProcessorResultfor the last item processed.- Throws:
VeraPDFException- if there's a problem with the particular result.
-
-