org.pdfsam.console.business.parser.handlers
Class DefaultCmdHandler

java.lang.Object
  extended by org.pdfsam.console.business.parser.handlers.DefaultCmdHandler
All Implemented Interfaces:
CmdHandler

public class DefaultCmdHandler
extends java.lang.Object
implements CmdHandler

Default handler

Author:
Andrea Vacondio

Field Summary
 
Fields inherited from interface org.pdfsam.console.business.parser.handlers.interfaces.CmdHandler
COMMAND
 
Constructor Summary
DefaultCmdHandler()
           
 
Method Summary
 java.util.Collection getArguments()
           
 java.lang.String getCommandDescription()
           
 jcmdline.CmdLineHandler getCommandLineHandler()
           
 java.lang.String getHelpExamples()
           
 java.lang.String getHelpMessage()
           
 java.util.Collection getOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCmdHandler

public DefaultCmdHandler()
Method Detail

getArguments

public java.util.Collection getArguments()
Specified by:
getArguments in interface CmdHandler
Returns:
Arguments for this handler

getCommandDescription

public java.lang.String getCommandDescription()
Specified by:
getCommandDescription in interface CmdHandler
Returns:
Description for the command of this handler

getHelpExamples

public java.lang.String getHelpExamples()
Specified by:
getHelpExamples in interface CmdHandler
Returns:
Help examples message for this handler

getHelpMessage

public java.lang.String getHelpMessage()
Specified by:
getHelpMessage in interface CmdHandler
Returns:
Help message for this handler

getOptions

public java.util.Collection getOptions()
Specified by:
getOptions in interface CmdHandler
Returns:
Options for this handler

getCommandLineHandler

public jcmdline.CmdLineHandler getCommandLineHandler()
Specified by:
getCommandLineHandler in interface CmdHandler
Returns:
the command line handler for this handler