Package org.basex
Class BaseX
- java.lang.Object
-
- org.basex.util.Main
-
- org.basex.core.CLI
-
- org.basex.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-24, BSD License, Christian Gruen
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
header()
Returns a header string for command-line information.static void
main(String... args)
Main method, launching the standalone mode.protected void
parseArgs()
Parses the command-line arguments, specified by the user.String
usage()
Returns a usage string for command-line information.
-
-
-
Constructor Detail
-
BaseX
public BaseX(String... args) throws IOException
Constructor.- Parameters:
args
- command-line arguments- Throws:
IOException
- I/O exception
-
-
Method Detail
-
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 classMain
- Throws:
IOException
- I/O exception
-
header
public String header()
Description copied from class:Main
Returns a header string for command-line information.
-
-