public class SQLConnector extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MYSQL_DRIVER |
Constructor and Description |
---|
SQLConnector() |
Modifier and Type | Method and Description |
---|---|
static java.sql.Connection |
getConnection(java.lang.String host,
java.lang.String name,
java.lang.String user,
java.lang.String password,
java.lang.String driver) |
public static final java.lang.String MYSQL_DRIVER
public SQLConnector()
public static java.sql.Connection getConnection(java.lang.String host, java.lang.String name, java.lang.String user, java.lang.String password, java.lang.String driver) throws java.lang.ClassNotFoundException, java.sql.SQLException
java.lang.ClassNotFoundException
java.sql.SQLException