public abstract class AbstractDatabaseMachine extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseConnection |
connection
Our database connection.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDatabaseMachine()
Constructs a DatabaseMachine and initializes the connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the connection to the database.
|
String |
makeASCII(String s)
Replaces every character that isn't an ASCII character with a space character.
|
protected DatabaseConnection connection
protected AbstractDatabaseMachine()
throws SQLException,
IOException
SQLException - the SQL exceptionIOException - Signals that an I/O exception has occurred.Copyright © 2017 Wil-Low BVBA. All rights reserved.