org.pdfsam.console.business.pdf.handlers.interfaces
Interface CmdExecutor

All Known Implementing Classes:
AbstractCmdExecutor, AlternateMixCmdExecutor, ConcatCmdExecutor, DecryptCmdExecutor, DocumentInfoCmdExecutor, EncryptCmdExecutor, PageLabelsCmdExecutor, RotateCmdExecutor, SetViewerCmdExecutor, SlideShowCmdExecutor, SplitCmdExecutor, UnpackCmdExecutor

public interface CmdExecutor

Interface for the command executors

Author:
Andrea Vacondio

Method Summary
 void clean()
          Called after the execute to perform close/clean operations
 void execute(AbstractParsedCommand parsedCommand)
          Execute the tool command.
 

Method Detail

execute

void execute(AbstractParsedCommand parsedCommand)
             throws ConsoleException
Execute the tool command. On error an exception is thrown.

Parameters:
parsedCommand - command to be executed
Throws:
ConsoleException

clean

void clean()
Called after the execute to perform close/clean operations