org.sejda.model.parameter
Class SplitBySizeParameters

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.SinglePdfSourceMultipleOutputParameters
              extended by org.sejda.model.parameter.SplitBySizeParameters
All Implemented Interfaces:
MultipleOutputTaskParameters, SinglePdfSourceTaskParameters, TaskParameters

public class SplitBySizeParameters
extends SinglePdfSourceMultipleOutputParameters

Parameter class for a split by size task.

Author:
Andrea Vacondio

Constructor Summary
SplitBySizeParameters(long sizeToSplitAt)
           
 
Method Summary
 boolean equals(Object other)
           
 long getSizeToSplitAt()
           
 PdfSource<?> getSource()
           
 int hashCode()
           
 void setSource(PdfSource<?> source)
          Set the source for this parameter.
 
Methods inherited from class org.sejda.model.parameter.base.SinglePdfSourceMultipleOutputParameters
getOutput, getOutputPrefix, setOutput, setOutputPrefix
 
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

SplitBySizeParameters

public SplitBySizeParameters(long sizeToSplitAt)
Method Detail

getSizeToSplitAt

public long getSizeToSplitAt()

hashCode

public int hashCode()
Overrides:
hashCode in class SinglePdfSourceMultipleOutputParameters

equals

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

getSource

public PdfSource<?> getSource()
Specified by:
getSource in interface SinglePdfSourceTaskParameters
Returns:
the source for this parameter.

setSource

public void setSource(PdfSource<?> source)
Description copied from interface: SinglePdfSourceTaskParameters
Set the source for this parameter.

Specified by:
setSource in interface SinglePdfSourceTaskParameters


Copyright © 2013 sejda. All Rights Reserved.