Class SqliteUtils

java.lang.Object
com.baremaps.iploc.database.SqliteUtils

public final class SqliteUtils extends Object
A helper class for creating executing sql scripts onto a SQLite database
  • Constructor Details

    • SqliteUtils

      public SqliteUtils()
  • Method Details

    • executeResource

      public static void executeResource(String databaseUrl, String resource) throws IOException, SQLException
      Executes the queries contained in a resource file.
      Parameters:
      databaseUrl - the JDBC url
      resource - the path of the resource file
      Throws:
      SQLException
      IOException