Constructor and Description |
---|
ParserSettings(ExternalResourceHandler externalResourceHandler)
Initializes a new instance of the
ParserSettings class with the External Resource Handler. |
ParserSettings(ILogger logger)
Initializes a new instance of the
ParserSettings class with the logger. |
ParserSettings(ILogger logger,
OcrConnectorBase ocrConnector)
Initializes a new instance of the
ParserSettings class with logger and OCR Connector. |
ParserSettings(ILogger logger,
OcrConnectorBase ocrConnector,
ExternalResourceHandler externalResourceHandler)
Initializes a new instance of the
ParserSettings class. |
ParserSettings(OcrConnectorBase ocrConnector)
Initializes a new instance of the
ParserSettings class with the OCR Connector. |
Modifier and Type | Method and Description |
---|---|
ExternalResourceHandler |
getExternalResourceHandler()
Gets the handler for external resources.
|
ILogger |
getLogger()
Gets the logger which is used for logging events and errors during data extraction.
|
OcrConnectorBase |
getOcrConnector()
Gets the OCR Connector which is used to provide OCR functionality.
|
public ParserSettings(ILogger logger)
ParserSettings
class with the logger.logger
- An instance of class that implements ILogger
interface.public ParserSettings(OcrConnectorBase ocrConnector)
ParserSettings
class with the OCR Connector.ocrConnector
- An instance of class that inherits OcrConnectorBase
class to provide OCR functionality.public ParserSettings(ExternalResourceHandler externalResourceHandler)
ParserSettings
class with the External Resource Handler.externalResourceHandler
- An instance of class that inherits OcrConnectorBase
class to provide OCR functionality.public ParserSettings(ILogger logger, OcrConnectorBase ocrConnector)
ParserSettings
class with logger and OCR Connector.logger
- An instance of class that implements ILogger
interface.ocrConnector
- An instance of class that inherits OcrConnectorBase
class to provide OCR functionality.public ParserSettings(ILogger logger, OcrConnectorBase ocrConnector, ExternalResourceHandler externalResourceHandler)
ParserSettings
class.logger
- An instance of class that implements ILogger
interface.ocrConnector
- An instance of class that inherits OcrConnectorBase
class to provide OCR functionality.externalResourceHandler
- An instance of class that inherits ExternalResourceHandler
class to provide the control of external resource loading.public ILogger getLogger()
ILogger
interface.public OcrConnectorBase getOcrConnector()
OcrConnectorBase
class to provide OCR functionality.public ExternalResourceHandler getExternalResourceHandler()
ExternalResourceHandler
class to provide the control of external resource loading.