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

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

public class PageLabelsParsedCommand
extends AbstractParsedCommand

PageLabels 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 L_ARG
           
static java.lang.String LP_ARG
           
static java.lang.String O_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
PageLabelsParsedCommand()
           
PageLabelsParsedCommand(PdfFile inputFile, java.io.File outputFile, PageLabel[] labels)
           
PageLabelsParsedCommand(PdfFile inputFile, java.io.File outputFile, PageLabel[] labels, boolean overwrite, boolean compress, char outputPdfVersion)
           
 
Method Summary
 java.lang.String getCommand()
           
 PdfFile getInputFile()
           
 PageLabel[] getLabels()
           
 java.io.File getOutputFile()
           
 void setInputFile(PdfFile inputFile)
           
 void setLabels(PageLabel[] labels)
           
 void setOutputFile(java.io.File outputFile)
           
 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

O_ARG

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

L_ARG

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

LP_ARG

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

PageLabelsParsedCommand

public PageLabelsParsedCommand()

PageLabelsParsedCommand

public PageLabelsParsedCommand(PdfFile inputFile,
                               java.io.File outputFile,
                               PageLabel[] labels)
Parameters:
inputFile -
outputFile -
labels -

PageLabelsParsedCommand

public PageLabelsParsedCommand(PdfFile inputFile,
                               java.io.File outputFile,
                               PageLabel[] labels,
                               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

getInputFile

public PdfFile getInputFile()
Returns:
the inputFile

setInputFile

public void setInputFile(PdfFile inputFile)
Parameters:
inputFile - the inputFile to set

getLabels

public PageLabel[] getLabels()
Returns:
the labels

setLabels

public void setLabels(PageLabel[] labels)
Parameters:
labels - the labels 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