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