public class PDFTextExtractor extends Object
| Constructor and Description |
|---|
PDFTextExtractor(Blob inBlob) |
PDFTextExtractor(DocumentModel inDoc,
String inXPath)
Constructor with a
DocumentModel. |
| Modifier and Type | Method and Description |
|---|---|
String |
extractLastPartOfLine(String string) |
String |
extractLineOf(String inString) |
String |
getAllExtractedLines() |
void |
setPassword(String password) |
public PDFTextExtractor(Blob inBlob)
public PDFTextExtractor(DocumentModel inDoc, String inXPath)
DocumentModel. The default value for inXPath (if passed
null or "") is file:content.inDoc - Input DocumentModel.inXPath - Input XPath.public String getAllExtractedLines() throws NuxeoException
NuxeoExceptionpublic String extractLineOf(String inString) throws IOException
IOExceptionpublic String extractLastPartOfLine(String string) throws IOException
IOExceptionpublic void setPassword(String password)
Copyright © 2019 Nuxeo. All rights reserved.