Package me.hsgamer.hscore.database
Class LocalDriver
java.lang.Object
me.hsgamer.hscore.database.LocalDriver
- All Implemented Interfaces:
Driver
- Direct Known Subclasses:
H2LocalDriver
,SqliteFileDriver
The driver for local connection
-
Constructor Summary
ModifierConstructorDescriptionprotected
Create a new local driver with the default folderprotected
LocalDriver
(File folder) Create a new local driver -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.database.Driver
applyDefaultSetting, convertURL, getDriverClass, getDriverClassName
-
Constructor Details
-
LocalDriver
protected LocalDriver()Create a new local driver with the default folder -
LocalDriver
Create a new local driver- Parameters:
folder
- the folder to store databases
-
-
Method Details
-
getFolder
Get the folder- Returns:
- the folder
-