org.basex.test.examples
Class DatabaseExample

java.lang.Object
  extended by org.basex.test.examples.DatabaseExample

public final class DatabaseExample
extends Object

This class demonstrates database creation and dropping. It then shows how to add indexes to the database and retrieve some information on the database structures.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, BaseX Team

Method Summary
static void main(String[] args)
          Runs the example code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws BaseXException
Runs the example code.

Parameters:
args - (ignored) command-line arguments
Throws:
BaseXException - if a database command fails