org.pdfsam.console.business.dto.commands
Class ConcatParsedCommand

java.lang.Object
  extended by org.pdfsam.console.business.dto.commands.AbstractParsedCommand
      extended by org.pdfsam.console.business.dto.commands.ConcatParsedCommand
All Implemented Interfaces:
java.io.Serializable

public class ConcatParsedCommand
extends AbstractParsedCommand

Concat parsed command dto filled by parsing service and used by worker service

Author:
Andrea Vacondio
See Also:
Serialized Form

Field Summary
static java.lang.String COPYFIELDS_ARG
           
static java.lang.String D_ARG
           
static java.lang.String F_ARG
           
static java.lang.String L_ARG
           
static java.lang.String O_ARG
           
static java.lang.String R_ARG
           
static java.lang.String U_ARG
           
 
Fields inherited from class org.pdfsam.console.business.dto.commands.AbstractParsedCommand
COMMAND_CONCAT, COMMAND_DECRYPT, COMMAND_ENCRYPT, COMMAND_MIX, COMMAND_PAGELABELS, COMMAND_ROTATE, COMMAND_SETDOCINFO, COMMAND_SETVIEWER, COMMAND_SLIDESHOW, COMMAND_SPLIT, COMMAND_UNPACK, COMPRESSED_ARG, LOG_ARG, OVERWRITE_ARG, PDFVERSION_ARG, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5, VERSION_1_6, VERSION_1_7
 
Constructor Summary
ConcatParsedCommand()
           
ConcatParsedCommand(java.io.File outputFile, java.io.File inputCvsOrXmlFile, PdfFile[] inputFileList, java.lang.String[] pageSelections, boolean copyFields, PageRotation[] rotations, java.io.File inputDirectory)
           
ConcatParsedCommand(java.io.File outputFile, java.io.File inputCvsOrXmlFile, PdfFile[] inputFileList, java.lang.String[] pageSelections, boolean copyFields, PageRotation[] rotations, java.io.File inputDirectory, boolean overwrite, boolean compress, char outputPdfVersion)
           
ConcatParsedCommand(java.io.File outputFile, java.io.File inputCvsOrXmlFile, PdfFile[] inputFileList, java.lang.String pageSelection, boolean copyFields, PageRotation[] rotations, java.io.File inputDirectory, boolean overwrite, boolean compress, java.io.File logFile, char outputPdfVersion)
          Deprecated. use the constructor without the logFile parameter
 
Method Summary
 java.lang.String getCommand()
           
 java.io.File getInputCvsOrXmlFile()
           
 java.io.File getInputDirectory()
           
 PdfFile[] getInputFileList()
           
 java.io.File getOutputFile()
           
 java.lang.String[] getPageSelections()
           
 PageRotation[] getRotations()
           
 boolean isCopyFields()
           
 void setCopyFields(boolean copyFields)
           
 void setInputCvsOrXmlFile(java.io.File inputCvsOrXmlFile)
           
 void setInputDirectory(java.io.File inputDirectory)
           
 void setInputFileList(PdfFile[] inputFileList)
           
 void setOutputFile(java.io.File outputFile)
           
 void setPageSelections(java.lang.String[] pageSelections)
           
 void setRotations(PageRotation[] rotations)
           
 java.lang.String toString()
           
 
Methods inherited from class org.pdfsam.console.business.dto.commands.AbstractParsedCommand
getLogFile, getOutputPdfVersion, isCompress, isOverwrite, setCompress, setLogFile, setOutputPdfVersion, setOutputPdfVersion, setOverwrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

F_ARG

public static final java.lang.String F_ARG
See Also:
Constant Field Values

COPYFIELDS_ARG

public static final java.lang.String COPYFIELDS_ARG
See Also:
Constant Field Values

L_ARG

public static final java.lang.String L_ARG
See Also:
Constant Field Values

U_ARG

public static final java.lang.String U_ARG
See Also:
Constant Field Values

O_ARG

public static final java.lang.String O_ARG
See Also:
Constant Field Values

R_ARG

public static final java.lang.String R_ARG
See Also:
Constant Field Values

D_ARG

public static final java.lang.String D_ARG
See Also:
Constant Field Values
Constructor Detail

ConcatParsedCommand

public ConcatParsedCommand()

ConcatParsedCommand

public ConcatParsedCommand(java.io.File outputFile,
                           java.io.File inputCvsOrXmlFile,
                           PdfFile[] inputFileList,
                           java.lang.String[] pageSelections,
                           boolean copyFields,
                           PageRotation[] rotations,
                           java.io.File inputDirectory)

ConcatParsedCommand

public ConcatParsedCommand(java.io.File outputFile,
                           java.io.File inputCvsOrXmlFile,
                           PdfFile[] inputFileList,
                           java.lang.String[] pageSelections,
                           boolean copyFields,
                           PageRotation[] rotations,
                           java.io.File inputDirectory,
                           boolean overwrite,
                           boolean compress,
                           char outputPdfVersion)

ConcatParsedCommand

public ConcatParsedCommand(java.io.File outputFile,
                           java.io.File inputCvsOrXmlFile,
                           PdfFile[] inputFileList,
                           java.lang.String pageSelection,
                           boolean copyFields,
                           PageRotation[] rotations,
                           java.io.File inputDirectory,
                           boolean overwrite,
                           boolean compress,
                           java.io.File logFile,
                           char outputPdfVersion)
Deprecated. use the constructor without the logFile parameter

Method Detail

getOutputFile

public java.io.File getOutputFile()
Returns:
the outputFile

setOutputFile

public void setOutputFile(java.io.File outputFile)
Parameters:
outputFile - the outputFile to set

getInputCvsOrXmlFile

public java.io.File getInputCvsOrXmlFile()
Returns:
the inputCvsOrXmlFile

setInputCvsOrXmlFile

public void setInputCvsOrXmlFile(java.io.File inputCvsOrXmlFile)
Parameters:
inputCvsOrXmlFile - the inputCvsOrXmlFile to set

getInputFileList

public PdfFile[] getInputFileList()
Returns:
the inputFileList

setInputFileList

public void setInputFileList(PdfFile[] inputFileList)
Parameters:
inputFileList - the inputFileList to set

getPageSelections

public java.lang.String[] getPageSelections()
Returns:
the pageSelections

setPageSelections

public void setPageSelections(java.lang.String[] pageSelections)
Parameters:
pageSelections - the pageSelection to set

isCopyFields

public boolean isCopyFields()
Returns:
the copyFields

setCopyFields

public void setCopyFields(boolean copyFields)
Parameters:
copyFields - the copyFields to set

getRotations

public PageRotation[] getRotations()
Returns:
the rotations

setRotations

public void setRotations(PageRotation[] rotations)
Parameters:
rotations - the rotations to set

getInputDirectory

public java.io.File getInputDirectory()
Returns:
the inputDirectory

setInputDirectory

public void setInputDirectory(java.io.File inputDirectory)
Parameters:
inputDirectory - the inputDirectory to set

getCommand

public final java.lang.String getCommand()
Specified by:
getCommand in class AbstractParsedCommand
Returns:
The command associated with this dto

toString

public java.lang.String toString()
Overrides:
toString in class AbstractParsedCommand