Class PDFExtractTextOperation
- java.lang.Object
-
- org.nuxeo.ecm.platform.pdf.operations.PDFExtractTextOperation
-
public class PDFExtractTextOperation extends Object
Extracts raw text from a PDF.If the PDF is encrypted, a password is required.
- Since:
- 8.10
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
protected String
password
protected String
patterntofind
protected String
pdfxpath
protected boolean
removepatternfromresult
protected boolean
save
protected CoreSession
session
protected String
targetxpath
-
Constructor Summary
Constructors Constructor Description PDFExtractTextOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel input)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
pdfxpath
protected String pdfxpath
-
save
protected boolean save
-
targetxpath
protected String targetxpath
-
patterntofind
protected String patterntofind
-
removepatternfromresult
protected boolean removepatternfromresult
-
password
protected String password
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel input) throws IOException
- Throws:
IOException
-
-