org.sejda.model.parameter.image
Class AbstractPdfToSingleImageParameters

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.AbstractPdfToSingleImageParameters
All Implemented Interfaces:
SingleOutputTaskParameters, SinglePdfSourceTaskParameters, TaskParameters
Direct Known Subclasses:
PdfToSingleTiffParameters

@ValidSingleOutput
public abstract class AbstractPdfToSingleImageParameters
extends AbstractPdfToImageParameters
implements SingleOutputTaskParameters

Base class for a parameter meant to convert an existing pdf source to a single image of a specified type. The type must support multiple images into one image file.

Author:
Andrea Vacondio

Field Summary
 
Fields inherited from class org.sejda.model.parameter.image.AbstractPdfToImageParameters
DEFAULT_DPI
 
Method Summary
 boolean equals(Object other)
           
 SingleTaskOutput<?> getOutput()
           
 String getOutputName()
           
 int hashCode()
           
 void setOutput(SingleTaskOutput<?> output)
          Sets the output destination
 void setOutputName(String outputName)
           
 
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

getOutputName

public String getOutputName()
Specified by:
getOutputName in interface SingleOutputTaskParameters
Returns:
the output file name to be used when the TaskOutput is not a File output.

getOutput

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

setOutput

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

Specified by:
setOutput in interface SingleOutputTaskParameters

setOutputName

public void setOutputName(String outputName)
Parameters:
outputName - the outputName to be used when the output is not a file destination

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.