Class SQLiteConnection

java.lang.Object
me.lorenzo0111.pluginslib.database.connection.JavaConnection
me.lorenzo0111.pluginslib.database.connection.SQLiteConnection
All Implemented Interfaces:
IConnectionHandler

public class SQLiteConnection extends JavaConnection
  • Constructor Details

    • SQLiteConnection

      public SQLiteConnection(Path folder) throws SQLException, IOException
      Parameters:
      folder - Data folder
      Throws:
      SQLException - if something went wrong
      IOException - if the file won't created for an error
    • SQLiteConnection

      public SQLiteConnection(File file) throws SQLException, IOException
      Parameters:
      file - SQLite database file
      Throws:
      SQLException - if something went wrong
      IOException - if the file won't created for an error
    • SQLiteConnection

      public SQLiteConnection(Connection connection)
      Parameters:
      connection - Java connection