Package org.imageconverter.config.health
Class TesseractInfoService
java.lang.Object
org.imageconverter.config.health.TesseractInfoService
Component to show informations about tesseract configs.
- Author:
- Fernando Romulo da Silva
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionread()
Read data about tesseract configs.void
writeOperation
(String tesseractFolder, String tesseractLanguage, String tesseractDpi) Update values from request http, JMX, etc.
-
Method Details
-
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 dictionarytesseractLanguage
- The tesseract languagetesseractDpi
- The resolution quality
-