Class Extraction

java.lang.Object
ai.redouble.demo.extract.Extraction

public class Extraction extends Object
What came out of one file: its text, or the reason there is none, or both. A PDF whose pages are pictures lists them in scanPages for the vision tier, and a mixed PDF lists only the pages that carry no text, keeping the text of the rest; textLayer is false when a file the code expected to read as text turned out not to be text. note says what the reader saw when it could not read.
Since:
0.1 (2026-09-14)
Author:
Andrey Santrosyan
  • Constructor Details

    • Extraction

      public Extraction()
  • Method Details

    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • isTextLayer

      public boolean isTextLayer()
    • setTextLayer

      public void setTextLayer(boolean textLayer)
    • getPages

      public Integer getPages()
    • setPages

      public void setPages(Integer pages)
    • getScanPages

      public List<Integer> getScanPages()
      One-based numbers of the pages that are pictures, or null when every page carries text.
    • setScanPages

      public void setScanPages(List<Integer> scanPages)
    • getNote

      public String getNote()
    • setNote

      public void setNote(String note)