Interface BarcodeDocumentParser

  • All Implemented Interfaces:

    public interface BarcodeDocumentParser
    
                        

    Allows to parse a raw string value (usually taken from the barcode) into a formatted document of the given types.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract GenericDocument parseDocument(String input, List<BarcodeDocumentFormat> acceptedFormats) Parses the string into one of the supported document type or returns null if none of the supported document types was found.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • parseDocument

         abstract GenericDocument parseDocument(String input, List<BarcodeDocumentFormat> acceptedFormats)

        Parses the string into one of the supported document type or returns null if none of the supported document types was found.

        Parameters:
        input - input string
        acceptedFormats - accepted document formats