com.joanju.cg.db
Class Admin
java.lang.Object
com.joanju.cg.db.Admin
public class Admin
- extends java.lang.Object
This, and Factory, would have to be changed if you want to use a subclass of DB.
Constructor Summary |
Admin()
|
Method Summary |
static void |
clear()
Clear the database. |
static void |
dump()
Dump the database to |
static void |
shutdown()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Admin
public Admin()
clear
public static void clear()
throws java.sql.SQLException,
java.io.IOException
- Clear the database.
- Throws:
java.sql.SQLException
java.io.IOException
dump
public static void dump()
throws java.sql.SQLException,
java.io.IOException
- Dump the database to
- Throws:
java.sql.SQLException
java.io.IOException
shutdown
public static void shutdown()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2008 Joanju Software. All Rights Reserved.