Package org.apache.tika.parser.pdf
Class OcrConfig.StrategyAuto
java.lang.Object
org.apache.tika.parser.pdf.OcrConfig.StrategyAuto
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OcrConfig
Configuration for AUTO strategy behavior.
Controls when OCR is triggered based on character analysis.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OcrConfig.StrategyAutostatic final OcrConfig.StrategyAuto -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfloatvoidsetTotalCharsPerPage(int totalCharsPerPage) voidsetUnmappedUnicodeCharsPerPage(float unmappedUnicodeCharsPerPage) toString()
-
Field Details
-
BETTER
-
FASTER
-
-
Constructor Details
-
StrategyAuto
public StrategyAuto() -
StrategyAuto
public StrategyAuto(float unmappedUnicodeCharsPerPage, int totalCharsPerPage)
-
-
Method Details
-
getUnmappedUnicodeCharsPerPage
public float getUnmappedUnicodeCharsPerPage() -
setUnmappedUnicodeCharsPerPage
public void setUnmappedUnicodeCharsPerPage(float unmappedUnicodeCharsPerPage) -
getTotalCharsPerPage
public int getTotalCharsPerPage() -
setTotalCharsPerPage
public void setTotalCharsPerPage(int totalCharsPerPage) -
toString
-