Class AbstractDocumentFileReader

    • Constructor Detail

      • AbstractDocumentFileReader

        protected AbstractDocumentFileReader()
    • Method Detail

      • getDocumentFileProcessor

        public DocumentFileProcessor getDocumentFileProcessor​(java.lang.String classShortName)
        Parameters:
        classShortName -
        Returns:
        Retrieves a DocumentFileProcessor with the given short class name. Useful for when you want to customize a particular processor.
      • processDocumentFile

        protected DocumentFile processDocumentFile​(DocumentFile documentFile)
        The catchProcessingError field controls whether an exception thrown by a processor will be caught or not. Starting in 3.11.0, it defaults to false, as an exception typically indicates that the processing should stop.
        Parameters:
        documentFile -
        Returns:
        the result of processing the given DocumentFile; may return null
      • setDocumentFileProcessors

        public void setDocumentFileProcessors​(java.util.List<DocumentFileProcessor> documentFileProcessors)
      • setFormatDocumentFileProcessor

        public void setFormatDocumentFileProcessor​(FormatDocumentFileProcessor formatDocumentFileProcessor)
      • isCatchProcessingError

        public boolean isCatchProcessingError()
      • setCatchProcessingError

        public void setCatchProcessingError​(boolean catchProcessingError)