Class Extraction
java.lang.Object
ai.redouble.demo.extract.Extraction
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNote()getPages()getPath()One-based numbers of the pages that are pictures, or null when every page carries text.getText()booleanvoidvoidvoidvoidsetScanPages(List<Integer> scanPages) voidvoidsetTextLayer(boolean textLayer)
-
Constructor Details
-
Extraction
public Extraction()
-
-
Method Details
-
getPath
-
setPath
-
getText
-
setText
-
isTextLayer
public boolean isTextLayer() -
setTextLayer
public void setTextLayer(boolean textLayer) -
getPages
-
setPages
-
getScanPages
-
setScanPages
-
getNote
-
setNote
-