public class ConcatenatePDFs extends Object
Modifier and Type | Field and Description |
---|---|
protected OperationContext |
ctx |
protected String |
filename |
static String |
ID |
protected String |
xpathBlobToAppend |
Constructor and Description |
---|
ConcatenatePDFs() |
Modifier and Type | Method and Description |
---|---|
protected Blob |
appendPDFs(org.apache.pdfbox.util.PDFMergerUtility ut) |
protected void |
checkPdf(Blob blob)
Check if blob is a pdf.
|
protected void |
handleBlobToAppend(org.apache.pdfbox.util.PDFMergerUtility ut)
Check if blob to append is a PDF blob.
|
Blob |
run(Blob blob) |
Blob |
run(BlobList blobs) |
public static final String ID
protected OperationContext ctx
protected String xpathBlobToAppend
public ConcatenatePDFs()
public Blob run(Blob blob) throws OperationException, IOException, org.apache.pdfbox.exceptions.COSVisitorException
OperationException
IOException
org.apache.pdfbox.exceptions.COSVisitorException
public Blob run(BlobList blobs) throws IOException, OperationException, org.apache.pdfbox.exceptions.COSVisitorException
IOException
OperationException
org.apache.pdfbox.exceptions.COSVisitorException
protected Blob appendPDFs(org.apache.pdfbox.util.PDFMergerUtility ut) throws IOException, org.apache.pdfbox.exceptions.COSVisitorException
IOException
org.apache.pdfbox.exceptions.COSVisitorException
protected void handleBlobToAppend(org.apache.pdfbox.util.PDFMergerUtility ut) throws IOException, OperationException
IOException
OperationException
protected void checkPdf(Blob blob) throws OperationException
OperationException
Copyright © 2015 Nuxeo SA. All rights reserved.