org.sejda.model.input
Class PdfMixInput

java.lang.Object
  extended by org.sejda.model.input.PdfMixInput

public class PdfMixInput
extends Object

Model representation of a input parameter for the Alternate Mix task. Contains a AbstractPdfSource, the mix step and a parameter indicating if the document should be processed in reverse mode.

Author:
Andrea Vacondio

Nested Class Summary
 class PdfMixInput.PdfMixInputProcessStatus
          Holds the status of the process for the enclosing a PdfMixInput
 
Constructor Summary
PdfMixInput(PdfSource<?> source)
          Creates an instance with step of 1 reverse false
PdfMixInput(PdfSource<?> source, boolean reverse, int step)
           
 
Method Summary
 PdfSource<?> getSource()
           
 int getStep()
           
 boolean isReverse()
           
 PdfMixInput.PdfMixInputProcessStatus newProcessingStatus(int numberOfPages)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfMixInput

public PdfMixInput(PdfSource<?> source,
                   boolean reverse,
                   int step)

PdfMixInput

public PdfMixInput(PdfSource<?> source)
Creates an instance with step of 1 reverse false

Parameters:
source -
Method Detail

getSource

public PdfSource<?> getSource()

isReverse

public boolean isReverse()

getStep

public int getStep()

newProcessingStatus

public PdfMixInput.PdfMixInputProcessStatus newProcessingStatus(int numberOfPages)
Parameters:
numberOfPages - the number of pages for this input.
Returns:
a new mix processing status for this input

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 sejda. All Rights Reserved.