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 StringIDprotected Stringpasswordprotected Stringpatterntofindprotected Stringpdfxpathprotected booleanremovepatternfromresultprotected booleansaveprotected CoreSessionsessionprotected Stringtargetxpath
-
Constructor Summary
Constructors Constructor Description PDFExtractTextOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModelrun(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
-
-