Class DeAddressParserConfiguration

java.lang.Object
io.scanbot.sdk.documentdata.DocumentDataExtractorConfigurationElement
io.scanbot.sdk.documentdata.DeAddressParserConfiguration

public class DeAddressParserConfiguration extends DocumentDataExtractorConfigurationElement
German Address Field validation configuration. This configuration does not enable the scanning of any document types by itself. Add to recognizer configuration to require German Address validation checks for specific document types.
  • Constructor Details

    • DeAddressParserConfiguration

      public DeAddressParserConfiguration(List<String> documentTypes, String binaryFileAddressDatabase)
      Constructs DeAddressParserConfiguration with the given params.
      Parameters:
      documentTypes - List of generic document formats for which German Address validation has to be applied.
      binaryFileAddressDatabase - binary file with address database. Default is `""`
    • DeAddressParserConfiguration

      public DeAddressParserConfiguration(List<String> documentTypes)
      Constructs DeAddressParserConfiguration with default parameters.
      Parameters:
      documentTypes - List of generic document formats for which German Address validation has to be applied.
  • Method Details

    • getDocumentTypes

      public List<String> getDocumentTypes()
      Getter for documentTypes field. See constructor documentation for more information about the field.
      Returns:
      documentTypes
    • setDocumentTypes

      public void setDocumentTypes(List<String> documentTypes)
      Setter for documentTypes field. See constructor documentation for more information about the field.
      Parameters:
      documentTypes - Value to set.
    • getBinaryFileAddressDatabase

      public String getBinaryFileAddressDatabase()
      Getter for binaryFileAddressDatabase field. See constructor documentation for more information about the field.
      Returns:
      binaryFileAddressDatabase
    • setBinaryFileAddressDatabase

      public void setBinaryFileAddressDatabase(String binaryFileAddressDatabase)
      Setter for binaryFileAddressDatabase field. See constructor documentation for more information about the field.
      Parameters:
      binaryFileAddressDatabase - Value to set.