Package org.basex

Class BaseX

Direct Known Subclasses:
BaseXClient

public class BaseX extends CLI
This is the starter class for the stand-alone console mode. It executes all commands locally.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • BaseX

      public BaseX(String... args) throws IOException
      Constructor.
      Parameters:
      args - command-line arguments
      Throws:
      IOException - I/O exception
  • Method Details

    • main

      public static void main(String... args)
      Main method, launching the standalone mode. Command-line arguments are listed with the -h argument.
      Parameters:
      args - command-line arguments
    • parseArgs

      protected final void parseArgs() throws IOException
      Description copied from class: Main
      Parses the command-line arguments, specified by the user.
      Specified by:
      parseArgs in class Main
      Throws:
      IOException - I/O exception
    • header

      public String header()
      Description copied from class: Main
      Returns a header string for command-line information.
      Specified by:
      header in class Main
      Returns:
      header string
    • usage

      public String usage()
      Description copied from class: Main
      Returns a usage string for command-line information.
      Specified by:
      usage in class Main
      Returns:
      usage string