org.pdfsam.console.business.parser.handlers.interfaces
Class AbstractCmdHandler
java.lang.Object
org.pdfsam.console.business.parser.handlers.interfaces.AbstractCmdHandler
- All Implemented Interfaces:
- CmdHandler
- Direct Known Subclasses:
- ConcatCmdHandler, DecryptCmdHandler, DocumentInfoCmdHandler, EncryptCmdHandler, MixCmdHandler, PageLabelsCmdHandler, RotateCmdHandler, SetViewerCmdHandler, SlideShowCmdHandler, SplitCmdHandler, UnpackCmdHandler
public abstract class AbstractCmdHandler
- extends java.lang.Object
- implements CmdHandler
Abstract CmdHandler to be extended to handle input arguments based on the input command (concat, split, ecc ecc)
- Author:
- Andrea Vacondio
Fields inherited from interface org.pdfsam.console.business.parser.handlers.interfaces.CmdHandler |
COMMAND |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCmdHandler
public AbstractCmdHandler()
- Constructor
getHelpExamples
public abstract java.lang.String getHelpExamples()
- Specified by:
getHelpExamples
in interface CmdHandler
- Returns:
- Help examples message for this handler
getOptions
public abstract java.util.Collection getOptions()
- Specified by:
getOptions
in interface CmdHandler
- Returns:
- Options for this handler
getArguments
public abstract java.util.Collection getArguments()
- Specified by:
getArguments
in interface CmdHandler
- Returns:
- Arguments for this handler
getCommandDescription
public abstract java.lang.String getCommandDescription()
- Specified by:
getCommandDescription
in interface CmdHandler
- Returns:
- Description for the command of this handler
getCommandLineHandler
public jcmdline.CmdLineHandler getCommandLineHandler()
- Specified by:
getCommandLineHandler
in interface CmdHandler
- Returns:
- the command line handler for this handler