java.lang.Object
org.sejda.model.parameter.base.AbstractParameters
org.sejda.model.parameter.base.AbstractPdfOutputParameters
- All Implemented Interfaces:
TaskParameters
- Direct Known Subclasses:
BaseMergeParameters
,MultiplePdfSourceParameters
,MultipleSourceParameters
,SinglePdfSourceMultipleOutputParameters
,SinglePdfSourceSingleOutputParameters
Abstract parameters implementation with attributes commonly used by all the parameters implementation having single or multiple pdf output as result of the task manipulation.
- Author:
- Andrea Vacondio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
void
setCompress
(boolean compress) void
setVersion
(PdfVersion version) Set the pdf version for the output document/sMethods inherited from class org.sejda.model.parameter.base.AbstractParameters
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.sejda.model.parameter.base.TaskParameters
getOutput
-
Constructor Details
-
AbstractPdfOutputParameters
public AbstractPdfOutputParameters()
-
-
Method Details
-
isCompress
public boolean isCompress() -
setCompress
public void setCompress(boolean compress) -
getVersion
-
setVersion
Set the pdf version for the output document/s- Parameters:
version
-
-
getMinRequiredPdfVersion
- Returns:
- the min output pdf version required by this parameter object depending on its attributes. Each extending class is responsible for the implementation of this method.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractParameters
-
equals
- Overrides:
equals
in classAbstractParameters
-