public class MySQLValueDAO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_PATH |
static java.lang.String |
ENC_PASSWORD |
Constructor and Description |
---|
MySQLValueDAO() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
initDB() |
void |
insertValue(float value,
int sensor_ID) |
public static final java.lang.String ENC_PASSWORD
public static final java.lang.String CONFIG_PATH
public void initDB() throws java.sql.SQLException, java.lang.ClassNotFoundException, java.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
java.io.IOException
public void insertValue(float value, int sensor_ID) throws java.lang.Exception
java.lang.Exception
public void close()