Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits AutoCloseable.
Public Member Functions | |
SQLiteDBConnect () | |
SQLiteDBConnect (String sDriverToLoad, String sUrlToLoad) throws SQLException | |
void | close () |
void | closeConnection () |
ResultSet | executeQry (String instruction) throws SQLException |
void | executeStmt (String instruction) throws SQLException |
void | executeStmt (String[] instructionSet) throws SQLException |
Connection | getConnection () |
Statement | getStatement () |
final void | init (String sDriverVar, String sUrlVar) throws SQLException |
void | setConnection () throws SQLException |
void | setStatement () throws SQLException |
Public Attributes | |
Connection | conn = null |
int | iTimeout = 30 |
String | sDriver = "" |
Statement | statement = null |
String | sUrl = null |
Private Member Functions | |
void | setDriver (String sDriverVar) |
void | setUrl (String sUrlVar) |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(SQLiteDBConnect.class.getName()) |
Database connection class & utilities.
Definition at line 35 of file SQLiteDBConnect.java.
org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.SQLiteDBConnect | ( | ) |
Definition at line 48 of file SQLiteDBConnect.java.
org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.SQLiteDBConnect | ( | String | sDriverToLoad, |
String | sUrlToLoad | ||
) | throws SQLException |
Definition at line 59 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init().
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.close | ( | ) |
Definition at line 134 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.closeConnection().
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.closeConnection | ( | ) |
Definition at line 124 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.close().
ResultSet org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeQry | ( | String | instruction | ) | throws SQLException |
Definition at line 120 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.modules.plaso.PlasoIngestModule.createPlasoArtifacts().
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeStmt | ( | String | instruction | ) | throws SQLException |
Definition at line 103 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeStmt().
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeStmt | ( | String[] | instructionSet | ) | throws SQLException |
processes an array of instructions e.g. a set of SQL command strings passed from a file
NB you should ensure you either handle empty lines in files by either removing them or parsing them out since they will generate spurious SQLExceptions when they are encountered during the iteration....
Definition at line 114 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeStmt().
Connection org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.getConnection | ( | ) |
Definition at line 87 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.conn.
Statement org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.getStatement | ( | ) |
Definition at line 99 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.statement.
final void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init | ( | String | sDriverVar, |
String | sUrlVar | ||
) | throws SQLException |
Definition at line 63 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setConnection(), org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setDriver(), org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setStatement(), and org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setUrl().
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.SQLiteDBConnect().
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setConnection | ( | ) | throws SQLException |
Definition at line 78 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init(), and org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setStatement().
|
private |
Definition at line 70 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init().
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setStatement | ( | ) | throws SQLException |
Definition at line 91 of file SQLiteDBConnect.java.
References org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setConnection().
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init().
|
private |
Definition at line 74 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init().
Connection org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.conn = null |
Definition at line 40 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.getConnection().
int org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.iTimeout = 30 |
Definition at line 39 of file SQLiteDBConnect.java.
|
staticprivate |
Definition at line 42 of file SQLiteDBConnect.java.
String org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.sDriver = "" |
Definition at line 37 of file SQLiteDBConnect.java.
Statement org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.statement = null |
Definition at line 41 of file SQLiteDBConnect.java.
Referenced by org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.getStatement().
String org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.sUrl = null |
Definition at line 38 of file SQLiteDBConnect.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.