org.sejda.model.parameter.image
Class AbstractPdfToMultipleImageParameters

java.lang.Object
  extended by org.sejda.model.parameter.base.AbstractParameters
      extended by org.sejda.model.parameter.image.AbstractPdfToImageParameters
          extended by org.sejda.model.parameter.image.AbstractPdfToMultipleImageParameters
All Implemented Interfaces:
MultipleOutputTaskParameters, SinglePdfSourceTaskParameters, TaskParameters
Direct Known Subclasses:
PdfToJpegParameters, PdfToMultipleTiffParameters

public abstract class AbstractPdfToMultipleImageParameters
extends AbstractPdfToImageParameters
implements MultipleOutputTaskParameters

Base class for a parameter meant to convert an existing pdf source to multiple images of a specified type.

Author:
Andrea Vacondio

Field Summary
 
Fields inherited from class org.sejda.model.parameter.image.AbstractPdfToImageParameters
DEFAULT_DPI
 
Method Summary
 boolean equals(Object other)
           
 MultipleTaskOutput<?> getOutput()
           
 String getOutputPrefix()
           
 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.image.AbstractPdfToImageParameters
getOutputImageColorType, getOutputImageType, getResolutionInDpi, getSource, getUserZoom, setResolutionInDpi, setSource, setUserZoom
 
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
 

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()
Overrides:
hashCode in class AbstractPdfToImageParameters

equals

public boolean equals(Object other)
Overrides:
equals in class AbstractPdfToImageParameters


Copyright © 2013 sejda. All Rights Reserved.