java.lang.Object
edu.ntnu.idatt1002.k1g4.dao.CreateDatabase
Class to create a new database with tables.
- Version:
- 0.1
- Author:
- Callum Gran
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createNewDatabase
(String fileName) Connect to and create a new databasestatic void
createNewTables
(String fileName) Create new database tables.
-
Constructor Details
-
CreateDatabase
public CreateDatabase()
-
-
Method Details
-
createNewDatabase
Connect to and create a new database- Parameters:
fileName
- the database file name
-
createNewTables
Create new database tables.- Parameters:
fileName
- the database file name
-