java.lang.Object
org.sejda.impl.sambox.component.PDDocumentHandler
org.sejda.impl.sambox.component.PdfAlternateMixer
- All Implemented Interfaces:
Closeable,AutoCloseable
Component providing functionalities to perform an alternate mix on two
PdfMixInput.- Author:
- Andrea Vacondio
-
Field Summary
Fields inherited from class org.sejda.impl.sambox.component.PDDocumentHandler
SAMBOX_USE_ASYNC_WRITER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidmix(List<PdfMixInput> inputs, TaskExecutionContext executionContext) Perform the alternate mix on the givenPdfMixInputs.Methods inherited from class org.sejda.impl.sambox.component.PDDocumentHandler
addBlankPage, addBlankPageAfter, addBlankPageBefore, addBlankPageIfOdd, addPage, addWriteOption, catalog, getNumberOfPages, getPage, getPages, getPermissions, getUnderlyingPDDocument, getViewerPreferences, importPage, initialiseBasedOn, isUpdateProducerModifiedDate, movePageToDocumentEnd, removePage, removeWriteOption, renderImage, savePDDocument, savePDDocument, savePDDocument, setCompress, setCreatorOnPDDocument, setDocumentAcroForm, setDocumentInformation, setDocumentOutline, setDocumentTitle, setPageLabelsOnDocument, setPageLayoutOnDocument, setPageModeOnDocument, setUpdateProducerModifiedDate, setVersionOnPDDocument, setViewerPreferences
-
Constructor Details
-
PdfAlternateMixer
public PdfAlternateMixer()
-
-
Method Details
-
mix
public void mix(List<PdfMixInput> inputs, TaskExecutionContext executionContext) throws TaskException Perform the alternate mix on the givenPdfMixInputs.- Parameters:
executionContext-- Throws:
TaskException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classPDDocumentHandler- Throws:
IOException
-