org.sejda.impl.pdfbox.component
Class PdfAlternateMixer

java.lang.Object
  extended by org.sejda.impl.pdfbox.component.PDDocumentHandler
      extended by org.sejda.impl.pdfbox.component.PdfAlternateMixer
All Implemented Interfaces:
Closeable

public class PdfAlternateMixer
extends PDDocumentHandler

Component providing functionalities to perform an alternate mix on two PdfMixInput.

Author:
Andrea Vacondio

Constructor Summary
PdfAlternateMixer(PdfMixInput firstInput, PdfMixInput secondInput)
           
 
Method Summary
 void close()
           
 void mix(NotifiableTaskMetadata taskMetadata)
          Perform the alternate mix on the given PdfMixInputs.
 
Methods inherited from class org.sejda.impl.pdfbox.component.PDDocumentHandler
compressXrefStream, getNumberOfPages, getPermissions, getUnderlyingPDDocument, getViewerPreferences, importPage, saveDecryptedPDDocument, savePDDocument, setCreatorOnPDDocument, setDocumentInformation, setPageLayoutOnDocument, setPageModeOnDocument, setVersionOnPDDocument, setViewerPreferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfAlternateMixer

public PdfAlternateMixer(PdfMixInput firstInput,
                         PdfMixInput secondInput)
                  throws TaskIOException
Throws:
TaskIOException
Method Detail

mix

public void mix(NotifiableTaskMetadata taskMetadata)
         throws TaskException
Perform the alternate mix on the given PdfMixInputs.

Parameters:
taskMetadata - metadata of the task executing the mix.
Throws:
TaskException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class PDDocumentHandler
Throws:
IOException


Copyright © 2012. All Rights Reserved.