Class DocumentDataExtractor

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class DocumentDataExtractor
    extends java.lang.Object
    implements java.lang.AutoCloseable
    API for extracting data from documents.
    • Constructor Detail

      • DocumentDataExtractor

        public DocumentDataExtractor​(DocumentDataExtractorConfiguration configuration)
                              throws LicenseException
        Constructs DocumentDataExtractor with the given params.
        Parameters:
        configuration - The configuration to use for the recognizer.
        Throws:
        LicenseException - If license requirements for the API are not met
    • Method Detail

      • clearResult

        public void clearResult()
        Clears the accumulated results. Should be called after a document has been recognized to the customers satisfaction to prevent a poisoned cache.
      • close

        public void close()
        Closes native resources held by the object.
        Specified by:
        close in interface java.lang.AutoCloseable
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable