Class DatabaseConnector
- java.lang.Object
-
- me.syncwrld.booter.database.connector.DatabaseConnector
-
@Deprecated public class DatabaseConnector extends java.lang.Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description DatabaseConnector(java.lang.String databaseType, java.lang.String file)
Deprecated.DatabaseConnector(java.lang.String databaseType, java.lang.String host, java.lang.String database, java.lang.String username, java.lang.String password)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
connect()
Deprecated.boolean
connect(java.lang.String errorMessage)
Deprecated.void
disconnect()
Deprecated.java.sql.Connection
getConnection()
Deprecated.java.lang.String
getDatabaseType()
Deprecated.java.lang.String
getFormattedType()
Deprecated.boolean
isConnected()
Deprecated.static DatabaseConnector
withConfiguration(java.io.File configuration)
Deprecated.
-
-
-
Constructor Detail
-
DatabaseConnector
public DatabaseConnector(java.lang.String databaseType, java.lang.String file)
Deprecated.
-
DatabaseConnector
public DatabaseConnector(java.lang.String databaseType, java.lang.String host, java.lang.String database, java.lang.String username, java.lang.String password)
Deprecated.
-
-
Method Detail
-
withConfiguration
public static DatabaseConnector withConfiguration(java.io.File configuration)
Deprecated.
-
connect
public boolean connect()
Deprecated.
-
connect
public boolean connect(java.lang.String errorMessage)
Deprecated.
-
disconnect
public void disconnect()
Deprecated.
-
getConnection
public java.sql.Connection getConnection()
Deprecated.
-
isConnected
public boolean isConnected()
Deprecated.
-
getDatabaseType
public java.lang.String getDatabaseType()
Deprecated.
-
getFormattedType
public java.lang.String getFormattedType()
Deprecated.
-
-