Class BarcodeDocumentParserResult

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class BarcodeDocumentParserResult
    extends java.lang.Object
    implements java.lang.AutoCloseable
    The result of barcode document parsing.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes native resources (images) held by the object.
      GenericDocument getParsedDocument()
      Getter for parsedDocument field.
      boolean getSuccess()
      Getter for success field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BarcodeDocumentParserResult

        public BarcodeDocumentParserResult​(boolean success,
                                           GenericDocument parsedDocument)
        Constructs BarcodeDocumentParserResult with the given params.
        Parameters:
        success - True if any document was parsed.
        parsedDocument - In case of success, the parsed document.
    • Method Detail

      • getSuccess

        public boolean getSuccess()
        Getter for success field. See constructor documentation for more information about the field.
        Returns:
        success
      • getParsedDocument

        public GenericDocument getParsedDocument()
        Getter for parsedDocument field. See constructor documentation for more information about the field.
        Returns:
        parsedDocument
      • close

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