|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuserman.Utilities
public class Utilities
Utility class not used by the web application. Provides facilities for testing database connections and adding dummy users.
| Constructor Summary | |
|---|---|
Utilities()
|
|
| Method Summary | |
|---|---|
static void |
createDummyUser(java.lang.String name,
java.lang.String password,
java.lang.String email,
int accessLevel)
Creates a dummy user in the database. |
static void |
main(java.lang.String[] args)
Can be used for any utility purpose. |
static void |
testManualConnection()
Static method that simply attempts to get and close a connection to the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utilities()
| Method Detail |
|---|
public static void testManualConnection()
throws java.sql.SQLException
java.sql.SQLException
public static void createDummyUser(java.lang.String name,
java.lang.String password,
java.lang.String email,
int accessLevel)
throws java.sql.SQLException,
java.io.IOException
name - password - email - accessLevel -
java.sql.SQLException
java.io.IOException
public static void main(java.lang.String[] args)
throws java.sql.SQLException,
java.io.IOException
args -
java.sql.SQLException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||