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

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

public class DecryptParsedCommand
extends AbstractParsedCommand

Decrypt 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 F_ARG
           
static java.lang.String O_ARG
           
static java.lang.String P_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
DecryptParsedCommand()
           
DecryptParsedCommand(PdfFile[] inputFileList, java.io.File outputFile, java.lang.String outputFilesPrefix)
           
DecryptParsedCommand(PdfFile[] inputFileList, java.io.File outputFile, java.lang.String outputFilesPrefix, boolean overwrite, boolean compress, char outputPdfVersion)
           
DecryptParsedCommand(PdfFile[] inputFileList, java.io.File outputFile, java.lang.String outputFilesPrefix, boolean overwrite, boolean compress, java.io.File logFile, char outputPdfVersion)
          Deprecated. use the constructor without the logFile parameter
 
Method Summary
 java.lang.String getCommand()
           
 PdfFile[] getInputFileList()
           
 java.io.File getOutputFile()
           
 java.lang.String getOutputFilesPrefix()
           
 void setInputFileList(PdfFile[] inputFileList)
           
 void setOutputFile(java.io.File outputFile)
           
 void setOutputFilesPrefix(java.lang.String outputFilesPrefix)
           
 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

P_ARG

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

O_ARG

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

DecryptParsedCommand

public DecryptParsedCommand()

DecryptParsedCommand

public DecryptParsedCommand(PdfFile[] inputFileList,
                            java.io.File outputFile,
                            java.lang.String outputFilesPrefix)
Parameters:
inputFileList -
outputFile -
outputFilesPrefix -

DecryptParsedCommand

public DecryptParsedCommand(PdfFile[] inputFileList,
                            java.io.File outputFile,
                            java.lang.String outputFilesPrefix,
                            boolean overwrite,
                            boolean compress,
                            java.io.File logFile,
                            char outputPdfVersion)
Deprecated. use the constructor without the logFile parameter

Parameters:
inputFileList -
outputFile -
outputFilesPrefix -

DecryptParsedCommand

public DecryptParsedCommand(PdfFile[] inputFileList,
                            java.io.File outputFile,
                            java.lang.String outputFilesPrefix,
                            boolean overwrite,
                            boolean compress,
                            char outputPdfVersion)
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

getInputFileList

public PdfFile[] getInputFileList()
Returns:
the inputFileList

setInputFileList

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

getOutputFilesPrefix

public java.lang.String getOutputFilesPrefix()
Returns:
the outputFilesPrefix

setOutputFilesPrefix

public void setOutputFilesPrefix(java.lang.String outputFilesPrefix)
Parameters:
outputFilesPrefix - the outputFilesPrefix to set

getCommand

public 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