Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.coreutils.SQLiteDBConnect Class Reference

Public Member Functions

 SQLiteDBConnect ()
 
 SQLiteDBConnect (String sDriverToLoad, String sUrlToLoad) throws SQLException
 
final void init (String sDriverVar, String sUrlVar) throws SQLException
 
void setConnection () throws SQLException
 
Connection getConnection ()
 
void setStatement () throws SQLException
 
Statement getStatement ()
 
void executeStmt (String instruction) throws SQLException
 
void executeStmt (String[] instructionSet) throws SQLException
 
ResultSet executeQry (String instruction) throws SQLException
 
void closeConnection ()
 

Public Attributes

String sDriver = ""
 
String sUrl = null
 
int iTimeout = 30
 
Connection conn = null
 
Statement statement = null
 

Private Member Functions

void setDriver (String sDriverVar)
 
void setUrl (String sUrlVar)
 

Static Private Attributes

static final Logger logger = Logger.getLogger(SQLiteDBConnect.class.getName())
 

Detailed Description

Database connection class & utilities *

Definition at line 35 of file SQLiteDBConnect.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.SQLiteDBConnect ( )

Definition at line 45 of file SQLiteDBConnect.java.

org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.SQLiteDBConnect ( String  sDriverToLoad,
String  sUrlToLoad 
) throws SQLException

Member Function Documentation

void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.closeConnection ( )

Definition at line 112 of file SQLiteDBConnect.java.

ResultSet org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeQry ( String  instruction) throws SQLException

Definition at line 108 of file SQLiteDBConnect.java.

void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeStmt ( String  instruction) throws SQLException
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.executeStmt ( String[]  instructionSet) throws SQLException
Connection org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.getConnection ( )
Statement org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.getStatement ( )
final void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.init ( String  sDriverVar,
String  sUrlVar 
) throws SQLException
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setConnection ( ) throws SQLException
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setDriver ( String  sDriverVar)
private
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setStatement ( ) throws SQLException
void org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.setUrl ( String  sUrlVar)
private

Member Data Documentation

Connection org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.conn = null
int org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.iTimeout = 30

Definition at line 39 of file SQLiteDBConnect.java.

final Logger org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.logger = Logger.getLogger(SQLiteDBConnect.class.getName())
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
String org.sleuthkit.autopsy.coreutils.SQLiteDBConnect.sUrl = null

Definition at line 38 of file SQLiteDBConnect.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.