com.groupdocs.parser.options

Class ParserSettings



  • public class ParserSettings
    extends Object
    Provides the settings which are used to customize data extraction.

    Learn more:

    • Constructor Detail

      • ParserSettings

        public ParserSettings(ILogger logger)
        Initializes a new instance of the ParserSettings class with the logger.
        Parameters:
        logger - An instance of class that implements ILogger interface.
      • ParserSettings

        public ParserSettings(OcrConnectorBase ocrConnector)
        Initializes a new instance of the ParserSettings class with the OCR Connector.
        Parameters:
        ocrConnector - An instance of class that inherits OcrConnectorBase class to provide OCR functionality.
      • ParserSettings

        public ParserSettings(ExternalResourceHandler externalResourceHandler)
        Initializes a new instance of the ParserSettings class with the External Resource Handler.
        Parameters:
        externalResourceHandler - An instance of class that inherits OcrConnectorBase class to provide OCR functionality.
      • ParserSettings

        public ParserSettings(ILogger logger,
                              OcrConnectorBase ocrConnector)
        Initializes a new instance of the ParserSettings class with logger and OCR Connector.
        Parameters:
        logger - An instance of class that implements ILogger interface.
        ocrConnector - An instance of class that inherits OcrConnectorBase class to provide OCR functionality.
    • Method Detail

      • getLogger

        public ILogger getLogger()
        Gets the logger which is used for logging events and errors during data extraction.
        Returns:
        An instance of class that implements ILogger interface.
      • getOcrConnector

        public OcrConnectorBase getOcrConnector()
        Gets the OCR Connector which is used to provide OCR functionality.
        Returns:
        An instance of class that inherits OcrConnectorBase class to provide OCR functionality.
      • getExternalResourceHandler

        public ExternalResourceHandler getExternalResourceHandler()
        Gets the handler for external resources.
        Returns:
        An instance of class that inherits ExternalResourceHandler class to provide the control of external resource loading.