public class CommandUseTable extends Table
db, tableName, usingMySQL
Constructor and Description |
---|
CommandUseTable(SQLDB db,
boolean usingMySQL) |
Modifier and Type | Method and Description |
---|---|
boolean |
createTable() |
HashMap<String,Integer> |
getCommandUse() |
void |
saveCommandUse(HashMap<String,Integer> data) |
close, execute, getConnection, getTableName, getVersion, prepareStatement, removeAllData
public CommandUseTable(SQLDB db, boolean usingMySQL)
db
- usingMySQL
- public boolean createTable()
createTable
in class Table
public HashMap<String,Integer> getCommandUse() throws SQLException
SQLException
public void saveCommandUse(HashMap<String,Integer> data) throws SQLException, NullPointerException
data
- SQLException
NullPointerException
Copyright © 2017. All rights reserved.