Class TesseractInfoService

java.lang.Object
org.imageconverter.config.health.TesseractInfoService

@Component @Endpoint(id="tesseract") public class TesseractInfoService extends Object
Component to show informations about tesseract configs.
Author:
Fernando Romulo da Silva
  • Method Details

    • read

      @ReadOperation public TesseractInfoService.TesseractDetailsData read()
      Read data about tesseract configs.
      Returns:
      A TesseractInfoService.TesseractDetailsData with the data
    • writeOperation

      @WriteOperation public void writeOperation(@Nullable String tesseractFolder, @Nullable String tesseractLanguage, @Nullable String tesseractDpi)
      Update values from request http, JMX, etc.
      Parameters:
      tesseractFolder - The tesseract intalled dictionary
      tesseractLanguage - The tesseract language
      tesseractDpi - The resolution quality