java.lang.Object
net.i2p.util.CommandLine
net.i2p.router.RouterCommandLine
Direct Known Subclasses:
NewsCommandLine

public class RouterCommandLineextends CommandLine
Simple command line access to various utilities. Not a public API. Subject to change. Apps and plugins should use specific classes.
  • Field Details

    • RCLASSES

      protected static final List<String> RCLASSES
      Classes the router scans at startup to see whether to load them.
  • Constructor Details

    • RouterCommandLine

      protected RouterCommandLine()
      Instances do nothing; the entry point is the static main.
  • Method Details

    • main

      public static void main(String[] args)
      Parse the command line and execute the requested command.
      Parameters:
      args - the command line arguments
    • usage

      public static void usage(List<String> classes)
      Print usage information and the list of available commands.
      Parameters:
      classes - the command classes