public class PDFExtractInfoOperation extends Object
If there is no blob or if the blob is not a PDF document, we empty the values.
IMPORTANT We don't check if the blob is a PDF or not. If it is not, this will likely lead to PDFBox errors.
 For the values to use in the properties parameter, see PDFInfo.toHashMap().
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ID  | 
protected Properties | 
properties  | 
protected boolean | 
save  | 
protected CoreSession | 
session  | 
protected String | 
xpath  | 
| Constructor and Description | 
|---|
PDFExtractInfoOperation()  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentModel | 
run(DocumentModel inDoc)  | 
public static final String ID
protected CoreSession session
protected Properties properties
protected boolean save
public PDFExtractInfoOperation()
public DocumentModel run(DocumentModel inDoc) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.