Class Tool
java.lang.Object
com.ibm.jvm.dtfjview.tools.Tool
- All Implemented Interfaces:
ITool
- Direct Known Subclasses:
CharsFromTool, CharsToTool, CmdFileTool, GrepTool, HelpTool, HistoryTool, OutFileTool, TokensTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the tool.booleanstart(String[] args, PrintStream out) Starts the tool.Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface ITool
accept, getArgumentDescription, getCommandName, getHelpDescription, printDetailedHelp, processModifier and TypeMethodDescriptionbooleanDetermines if a command is accepted by current tool.To gets the tool's argument description.To gets the tool's command name.To gets the tool's help description.voidTo print the detailed help message.voidprocess(String command, String[] args, PrintStream out) Processes the command.
-
Constructor Details
-
Tool
public Tool()
-
-
Method Details
-
start
Starts the tool.- Specified by:
startin interfaceITool- Parameters:
args- The arguments required to start the tool.out- The output channel.- Returns:
trueif the tool has been started up successfully;falseotherwise.- Throws:
CommandException
-
close
-