Autopsy
4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, and org.sleuthkit.autopsy.contentviewers.FileTypeViewer.
Public Member Functions | |
SQLiteViewer () | |
Component | getComponent () |
List< String > | getSupportedMIMETypes () |
void | resetComponent () |
void | setFile (AbstractFile file) |
Static Public Attributes | |
static final String[] | SUPPORTED_MIMETYPES = new String[]{"application/x-sqlite3"} |
Private Member Functions | |
boolean | getTables () |
void | initComponents () |
void | nextPageButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | prevPageButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | processSQLiteFile (AbstractFile sqliteFile) |
void | readTable (String tableName, int startRow, int numRowsToRead) |
ArrayList< Map< String, Object > > | resultSetToArrayList (ResultSet rs) throws SQLException |
void | selectTable (String tableName) |
void | tablesDropdownListActionPerformed (java.awt.event.ActionEvent evt) |
Private Attributes | |
Connection | connection = null |
int | currPage = 0 |
javax.swing.JLabel | currPageLabel |
final Map< String, String > | dbTablesMap = new TreeMap<>() |
javax.swing.JPanel | jHdrPanel |
javax.swing.JLabel | jLabel1 |
javax.swing.JLabel | jLabel2 |
javax.swing.JLabel | jLabel3 |
javax.swing.JPanel | jTableDataPanel |
javax.swing.JButton | nextPageButton |
javax.swing.JTextField | numEntriesField |
javax.swing.JLabel | numPagesLabel |
int | numRows |
javax.swing.JButton | prevPageButton |
javax.swing.JComboBox< String > | tablesDropdownList |
File | tmpDBFile = null |
String | tmpDBPathName = null |
SwingWorker<?extends Object,?extends Object > | worker |
Static Private Attributes | |
static final Logger | LOGGER = Logger.getLogger(FileViewer.class.getName()) |
static final int | ROWS_PER_PAGE = 100 |
Definition at line 49 of file SQLiteViewer.java.
org.sleuthkit.autopsy.contentviewers.SQLiteViewer.SQLiteViewer | ( | ) |
Creates new form SQLiteViewer
Definition at line 71 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jTableDataPanel.
Component org.sleuthkit.autopsy.contentviewers.SQLiteViewer.getComponent | ( | ) |
Definition at line 271 of file SQLiteViewer.java.
List<String> org.sleuthkit.autopsy.contentviewers.SQLiteViewer.getSupportedMIMETypes | ( | ) |
Definition at line 261 of file SQLiteViewer.java.
|
private |
Gets the table names and their schema from loaded SQLite db file
Definition at line 365 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.processSQLiteFile().
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 83 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.currPageLabel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jHdrPanel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jLabel1, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jLabel2, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jLabel3, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jTableDataPanel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButtonActionPerformed(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.numEntriesField, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.numPagesLabel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButtonActionPerformed(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.tablesDropdownList, and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.tablesDropdownListActionPerformed().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.SQLiteViewer().
|
private |
Definition at line 207 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.currPageLabel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.readTable(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.tablesDropdownList.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 221 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.currPageLabel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.readTable(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.tablesDropdownList.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Process the given SQLite DB file
sqliteFile | - |
Definition at line 308 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.getTables(), org.sleuthkit.autopsy.casemodule.Case.getTempDirectory(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.setFile().
|
private |
Definition at line 441 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.resultSetToArrayList().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButtonActionPerformed(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButtonActionPerformed(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
void org.sleuthkit.autopsy.contentviewers.SQLiteViewer.resetComponent | ( | ) |
Definition at line 276 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.numEntriesField.
|
private |
Definition at line 492 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.readTable().
|
private |
Definition at line 387 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.currPageLabel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButton, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.numEntriesField, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.numPagesLabel, org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButton, and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.readTable().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.tablesDropdownListActionPerformed().
void org.sleuthkit.autopsy.contentviewers.SQLiteViewer.setFile | ( | AbstractFile | file | ) |
Definition at line 266 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.processSQLiteFile().
|
private |
Definition at line 235 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 53 of file SQLiteViewer.java.
|
private |
Definition at line 62 of file SQLiteViewer.java.
|
private |
Definition at line 247 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButtonActionPerformed(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButtonActionPerformed(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
|
private |
Definition at line 58 of file SQLiteViewer.java.
|
private |
Definition at line 248 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 249 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 250 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 251 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 252 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.SQLiteViewer().
|
staticprivate |
Definition at line 52 of file SQLiteViewer.java.
|
private |
Definition at line 253 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButtonActionPerformed(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButtonActionPerformed(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
|
private |
|
private |
Definition at line 255 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
|
private |
Definition at line 61 of file SQLiteViewer.java.
|
private |
Definition at line 256 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButtonActionPerformed(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButtonActionPerformed(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
|
staticprivate |
Definition at line 60 of file SQLiteViewer.java.
|
static |
Definition at line 51 of file SQLiteViewer.java.
|
private |
Definition at line 257 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.nextPageButtonActionPerformed(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.prevPageButtonActionPerformed().
|
private |
Definition at line 56 of file SQLiteViewer.java.
|
private |
Definition at line 55 of file SQLiteViewer.java.
|
private |
Definition at line 66 of file SQLiteViewer.java.
Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.