- java.lang.Object
-
- com.ibm.jvm.dtfjview.tools.Tool
-
- All Implemented Interfaces:
ITool
- Direct Known Subclasses:
CharsFromTool
,CharsToTool
,CmdFileTool
,GrepTool
,HelpTool
,HistoryTool
,OutFileTool
,TokensTool
public abstract class Tool extends Object implements ITool
-
-
Constructor Summary
Constructors Constructor Description Tool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the tool.boolean
start(String[] args, PrintStream out)
Starts the tool.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.jvm.dtfjview.tools.ITool
accept, getArgumentDescription, getCommandName, getHelpDescription, printDetailedHelp, process
-
-
-
-
Method Detail
-
start
public boolean start(String[] args, PrintStream out) throws CommandException
Starts the tool.- Specified by:
start
in interfaceITool
- Parameters:
args
- The arguments required to start the tool.out
- The output channel.- Returns:
true
if the tool has been started up successfully;false
otherwise.- Throws:
CommandException
-
-