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
NuxeoException
public String extractLineOf(String inString) throws IOException
IOException
public String extractLastPartOfLine(String string) throws IOException
IOException
public void setPassword(String password)
Copyright © 2018 Nuxeo. All rights reserved.