public class DefaultDocumentProcessor implements DocumentProcessor
Default implementation of interface DocumentProcessor
Saves pdf documents using DocumentDraft source Call in a background thread only. Not thread safe
interface DocumentProcessorpublic DefaultDocumentProcessor(@NotNull
io.scanbot.sdk.persistence.DocumentStoreStrategy documentStoreStrategy,
@NotNull
ComposerFactory composerFactory,
@NotNull
ProcessorMonitor<io.scanbot.sdk.entity.Document> documentProcessorMonitor)
Default implementation of interface DocumentProcessor
Saves pdf documents using DocumentDraft source Call in a background thread only. Not thread safe
interface DocumentProcessor@NotNull public DocumentProcessingResult processDocument(@NotNull io.scanbot.sdk.entity.DocumentDraft documentDraft)
Creates files for given DocumentDraft
documentDraft - contains information about document that should be createdclass DocumentProcessingResultIOException - in case of any file access or input-output error