org.sejda.model.parameter.base
Class MultiplePdfSourceMultipleOutputParameters

java.lang.Object
  extended by org.sejda.model.parameter.base.AbstractParameters
      extended by org.sejda.model.parameter.base.AbstractPdfOutputParameters
          extended by org.sejda.model.parameter.base.MultiplePdfSourceMultipleOutputParameters
All Implemented Interfaces:
MultipleOutputTaskParameters, MultiplePdfSourceTaskParameters, TaskParameters
Direct Known Subclasses:
DecryptParameters, EncryptParameters, RotateParameters, ViewerPreferencesParameters

public class MultiplePdfSourceMultipleOutputParameters
extends AbstractPdfOutputParameters
implements MultipleOutputTaskParameters

Provides a skeletal implementation for parameter classes having multiple pdf source as input and generating multiple output.

Author:
Andrea Vacondio

Constructor Summary
MultiplePdfSourceMultipleOutputParameters()
           
 
Method Summary
 void addSource(PdfSource<?> input)
          adds the input source to the source list.
 boolean equals(Object other)
           
 MultipleTaskOutput<?> getOutput()
           
 String getOutputPrefix()
           
 List<PdfSource<?>> getSourceList()
           
 int hashCode()
           
 void setOutput(MultipleTaskOutput<?> output)
          Sets the output destination
 void setOutputPrefix(String outputPrefix)
          Set the prefix to be used to generate names of the multiple outputs for this parameter.
 
Methods inherited from class org.sejda.model.parameter.base.AbstractPdfOutputParameters
getMinRequiredPdfVersion, getVersion, isCompressXref, setCompress, setVersion
 
Methods inherited from class org.sejda.model.parameter.base.AbstractParameters
isOverwrite, setOverwrite
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sejda.model.parameter.base.TaskParameters
isOverwrite
 

Constructor Detail

MultiplePdfSourceMultipleOutputParameters

public MultiplePdfSourceMultipleOutputParameters()
Method Detail

getOutputPrefix

public String getOutputPrefix()
Specified by:
getOutputPrefix in interface MultipleOutputTaskParameters
Returns:
the prefix to be used to generate names of the multiple outputs.

setOutputPrefix

public void setOutputPrefix(String outputPrefix)
Description copied from interface: MultipleOutputTaskParameters
Set the prefix to be used to generate names of the multiple outputs for this parameter.

Specified by:
setOutputPrefix in interface MultipleOutputTaskParameters

getOutput

public MultipleTaskOutput<?> getOutput()
Specified by:
getOutput in interface TaskParameters
Returns:
output destination where the result of the manipulation is placed

setOutput

public void setOutput(MultipleTaskOutput<?> output)
Description copied from interface: MultipleOutputTaskParameters
Sets the output destination

Specified by:
setOutput in interface MultipleOutputTaskParameters

hashCode

public int hashCode()

equals

public boolean equals(Object other)

addSource

public void addSource(PdfSource<?> input)
adds the input source to the source list.

Specified by:
addSource in interface MultiplePdfSourceTaskParameters
Parameters:
input -

getSourceList

public List<PdfSource<?>> getSourceList()
Specified by:
getSourceList in interface MultiplePdfSourceTaskParameters
Returns:
an unmodifiable view of the source list


Copyright © 2013 sejda. All Rights Reserved.