|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.BaseXClient
org.basex.BaseX
public final class BaseX
This is the starter class for the stand-alone console mode.
It overwrites the BaseXClient to allow local database
operations.
Add the '-h' option to get a list on all available command-line arguments.
| Constructor Summary | |
|---|---|
BaseX()
|
|
| Method Summary | |
|---|---|
static boolean |
debug(java.lang.Exception ex)
Global method for printing the exception stack trace if the Prop.debug flag is set. |
static void |
debug(java.lang.String string,
java.lang.Object... ext)
Global method for printing debug information if the Prop.debug flag is set. |
static void |
err(java.lang.String string,
java.lang.Object... ext)
Global method for printing information to the standard output. |
static void |
errln(java.lang.Object obj,
java.lang.Object... ext)
Global method for printing information to the standard output. |
static byte[] |
inf(java.lang.String string,
java.lang.Object... ext)
Global method, replacing all % characters in the input string by the specified extension objects, which can be byte arrays or any other object that can be cast to string. |
static java.lang.String |
info(java.lang.String string,
java.lang.Object... ext)
Global method, replacing all % characters (see inf(String, Object...). |
static void |
main(java.lang.String[] args)
Main method, launching the stand-alone console mode. |
static void |
out(java.lang.Object string,
java.lang.Object... ext)
Global method for printing information to the standard output. |
static void |
outln(java.lang.Object string,
java.lang.Object... ext)
Global method for printing information to the standard output. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseX()
| Method Detail |
|---|
public static boolean debug(java.lang.Exception ex)
Prop.debug flag is set.
ex - exception
public static void debug(java.lang.String string,
java.lang.Object... ext)
Prop.debug flag is set.
string - debug stringext - text optional extensions
public static void err(java.lang.String string,
java.lang.Object... ext)
string - debug stringext - text optional extensions
public static void errln(java.lang.Object obj,
java.lang.Object... ext)
obj - error stringext - text optional extensions
public static byte[] inf(java.lang.String string,
java.lang.Object... ext)
string - string to be extendedext - text text extensions
public static java.lang.String info(java.lang.String string,
java.lang.Object... ext)
inf(String, Object...).
string - string to be extendedext - text text extensions
public static void main(java.lang.String[] args)
-h to get a list of all available command-line
arguments.
args - command-line arguments
public static void out(java.lang.Object string,
java.lang.Object... ext)
string - debug stringext - text optional extensions
public static void outln(java.lang.Object string,
java.lang.Object... ext)
string - debug stringext - text optional extensions
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||