public interface DocumentProcessorIF
Modifier and Type | Method and Description |
---|---|
boolean |
needsProcessing(DocumentIF document)
INTERNAL: Can be used to figure out if it is necessary to process
the document.
|
void |
process(DocumentIF document)
INTERNAL: Processes the specified document.
|
boolean needsProcessing(DocumentIF document)
This method should be used to quickly decide whether or not the document needs to be processed. Note that this method should return quickly, since it would normally be executed serially.
void process(DocumentIF document) throws Exception
Exception