Class Main

java.lang.Object
org.harctoolbox.cmdline.CmdLineProgram
org.harctoolbox.harchardware.Main

public final class Main extends org.harctoolbox.cmdline.CmdLineProgram
This class contains a command line main routine, allowing command line access to most things in the package.
  • Field Summary

    Fields inherited from class org.harctoolbox.cmdline.CmdLineProgram

    argumentParser, command, commandBasicOptions, commandHelp, originalArguments, out
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static void
    main(String[] args)
     
    org.harctoolbox.cmdline.ProgramExitStatus
     

    Methods inherited from class org.harctoolbox.cmdline.CmdLineProgram

    getOutputStream, parseArgs, processHelpAndDescription, run, setupCmds, setupLoggers, usage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Main

      public Main()
    • Main

      public Main(PrintStream out)
  • Method Details

    • main

      public static void main(String[] args)
    • extraSetup

      public void extraSetup()
      Overrides:
      extraSetup in class org.harctoolbox.cmdline.CmdLineProgram
    • processCommand

      public org.harctoolbox.cmdline.ProgramExitStatus processCommand()
      Specified by:
      processCommand in class org.harctoolbox.cmdline.CmdLineProgram