Class PagesConfig.Auto

java.lang.Object
org.apache.tika.parser.pages.PagesConfig.Auto
All Implemented Interfaces:
Serializable
Enclosing class:
PagesConfig

public static class PagesConfig.Auto extends Object implements Serializable
When TextPolicy.AUTO sends a page to OCR: too few characters, or too many glyphs without a Unicode mapping. The unmapped count is a PDF font fact; a format without the signal never trips it.
See Also:
  • Constructor Details

    • Auto

      public Auto()
  • Method Details

    • defaults

      public static PagesConfig.Auto defaults()
    • over

      public PagesConfig.Auto over(PagesConfig.Auto overlay)
    • copy

      public PagesConfig.Auto copy()
    • getUnmappedUnicodeCharsPerPage

      public Float getUnmappedUnicodeCharsPerPage()
    • setUnmappedUnicodeCharsPerPage

      public void setUnmappedUnicodeCharsPerPage(Float unmappedUnicodeCharsPerPage)
      A count when 1 or more, a fraction of the page's characters when below 1.
    • getTotalCharsPerPage

      public Integer getTotalCharsPerPage()
    • setTotalCharsPerPage

      public void setTotalCharsPerPage(Integer totalCharsPerPage)
      A page with fewer characters than this is sent to OCR.