- java.lang.Object
-
- com.ibm.jvm.dtfjview.tools.Tool
-
- com.ibm.jvm.dtfjview.tools.impl.TokensTool
-
-
Constructor Summary
Constructors Constructor Description TokensTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(String command, String[] args)Determines if a command is accepted by the current tool.StringgetArgumentDescription()To gets the tool's argument description.StringgetCommandName()To gets the tool's command name.StringgetHelpDescription()To gets the tool's help description.voidprintDetailedHelp(PrintStream out)To print the detailed help message.voidprocess(String command, String[] args, PrintStream out)Processes the command.
-
-
-
Method Detail
-
process
public void process(String command, String[] args, PrintStream out) throws CommandException
Processes the command.- Specified by:
processin interfaceITool- Parameters:
command- The command to be processed.args- The arguments taken by the command.out- The output channel.- Throws:
CommandException
-
accept
public boolean accept(String command, String[] args)
Determines if a command is accepted by the current tool.
-
printDetailedHelp
public void printDetailedHelp(PrintStream out)
To print the detailed help message.- Specified by:
printDetailedHelpin interfaceITool
-
getCommandName
public String getCommandName()
To gets the tool's command name.- Specified by:
getCommandNamein interfaceITool- Returns:
- The tool's command name.
-
getArgumentDescription
public String getArgumentDescription()
To gets the tool's argument description.- Specified by:
getArgumentDescriptionin interfaceITool- Returns:
- The tool's argument description.
-
getHelpDescription
public String getHelpDescription()
To gets the tool's help description.- Specified by:
getHelpDescriptionin interfaceITool- Returns:
- The tool's help description.
-
-