java.lang.Object
com.example.project.services.sqlite.SQLiteConnection
- Direct Known Subclasses:
SQLiteDictionaryConnection,SQLiteUsersConnection
Abstract SQLiteConnection class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringEach subclass provides its database path.Gets the database connection from an existing readonly resource .dbprotected abstract Connectionprotected abstract voidsetSQLiteInstance(Connection newInstance)
-
Constructor Details
-
SQLiteConnection
public SQLiteConnection()
-
-
Method Details
-
getSQLiteInstance
-
setSQLiteInstance
-
getDatabasePath
Each subclass provides its database path. -
getInstance
Gets the database connection from an existing readonly resource .db- Returns:
- returns the connection is already made or creates new one.
-