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

public abstract class Tool extends Object implements ITool
  • Constructor Details

    • Tool

      public Tool()
  • Method Details

    • start

      public boolean start(String[] args, PrintStream out) throws CommandException
      Starts the tool.

      Specified by:
      start in interface ITool
      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
    • close

      public void close()
      Closes the tool.
      Specified by:
      close in interface ITool