java.lang.Object
org.reprogle.honeypot.storagemanager.sqlite.Database
org.reprogle.honeypot.storagemanager.sqlite.SQLite

public class SQLite extends Database
  • Constructor Details

    • SQLite

      public SQLite(Honeypot instance)
      Create an SQLite object from the instance
      Parameters:
      instance - The instance of the plugin
  • Method Details

    • getSQLConnection

      public Connection getSQLConnection()
      Get's the DB connection, also verifies if JDBC is installed. If it isn't plugin is disabled as it can't function without it
      Specified by:
      getSQLConnection in class Database
      Returns:
      Connection if the connection is valid, otherwise returns null
    • load

      public void load()
      Loads the DB
      Specified by:
      load in class Database