|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Main
org.basex.BaseX
public class BaseX
This is the starter class for the stand-alone console mode. It executes all commands locally.
Field Summary |
---|
Fields inherited from class org.basex.core.Main |
---|
console, context, newline, out, session, verbose |
Constructor Summary | |
---|---|
BaseX(java.lang.String... args)
Constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String... args)
Main method, launching the standalone mode. |
protected void |
parseArguments(java.lang.String... args)
Parses the command-line arguments, specified by the user. |
protected boolean |
sa()
Tests if this client is stand-alone. |
protected Session |
session()
Returns the session. |
Methods inherited from class org.basex.core.Main |
---|
console, execute, execute, quit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseX(java.lang.String... args) throws java.io.IOException
args
- command-line arguments
java.io.IOException
- I/O exceptionMethod Detail |
---|
public static void main(java.lang.String... args)
-h
argument.
args
- command-line argumentsprotected boolean sa()
protected Session session() throws java.io.IOException
Main
session
in class Main
java.io.IOException
- I/O exceptionprotected final void parseArguments(java.lang.String... args) throws java.io.IOException
Main
parseArguments
in class Main
args
- command-line arguments
java.io.IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |