Package me.playernguyen.opteco.sql
Class SQLiteEstablish
java.lang.Object
me.playernguyen.opteco.OptEcoImplementation
me.playernguyen.opteco.sql.SQLEstablish
me.playernguyen.opteco.sql.SQLiteEstablish
- All Implemented Interfaces:
OptEcoEstablish
public class SQLiteEstablish extends SQLEstablish
-
Constructor Summary
Constructors Constructor Description SQLiteEstablish(java.lang.String tableName, java.util.ArrayList<java.lang.String> init)
-
Method Summary
Modifier and Type Method Description java.util.ArrayList<java.lang.String>
getTables()
Get the table listjava.sql.Connection
openConnect()
Methods inherited from class me.playernguyen.opteco.sql.SQLEstablish
getTableName, getURL, setupTable, setURL, size
Methods inherited from class me.playernguyen.opteco.OptEcoImplementation
getAccountDatabase, getAccountManager, getConfigurationLoader, getDebugger, getLanguageLoader, getLogger, getPlugin, getStorageType, getTransactionManager
-
Constructor Details
-
SQLiteEstablish
public SQLiteEstablish(java.lang.String tableName, java.util.ArrayList<java.lang.String> init)
-
-
Method Details
-
openConnect
public java.sql.Connection openConnect() throws java.sql.SQLException, java.lang.ClassNotFoundException- Specified by:
openConnect
in interfaceOptEcoEstablish
- Specified by:
openConnect
in classSQLEstablish
- Throws:
java.sql.SQLException
java.lang.ClassNotFoundException
-
getTables
public java.util.ArrayList<java.lang.String> getTables()Get the table list- Specified by:
getTables
in interfaceOptEcoEstablish
- Specified by:
getTables
in classSQLEstablish
- Returns:
- table list
-