Autopsy
4.6.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, and org.sleuthkit.autopsy.corecomponentinterfaces.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 | |
void | findAndCopySQLiteMetaFile (AbstractFile sqliteFile, String metaFileName) throws NoCurrentCaseException, TskCoreException, IOException |
Map< String, String > | getTables () throws SQLException |
void | initComponents () |
void | nextPageButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | prevPageButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | processSQLiteFile () |
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 |
int | currPage = 0 |
javax.swing.JLabel | currPageLabel |
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 |
final SQLiteTableView | selectedTableView = new SQLiteTableView() |
AbstractFile | sqliteDbFile |
javax.swing.JComboBox< String > | tablesDropdownList |
File | tmpDbFile |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(FileViewer.class.getName()) |
static final int | ROWS_PER_PAGE = 100 |
static final long | serialVersionUID = 1L |
A file content viewer for SQLite database files.
Definition at line 59 of file SQLiteViewer.java.
org.sleuthkit.autopsy.contentviewers.SQLiteViewer.SQLiteViewer | ( | ) |
Constructs a file content viewer for SQLite database files.
Definition at line 75 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.jTableDataPanel.
|
private |
Searches for a meta file associated with the give SQLite db If found, copies the file to the temp folder
sqliteFile | - SQLIte db file being processed |
metaFileName | name of meta file to look for |
Definition at line 375 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.casemodule.services.FileManager.findFiles(), org.sleuthkit.autopsy.casemodule.services.Services.getFileManager(), org.sleuthkit.autopsy.casemodule.Case.getOpenCase(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.casemodule.Case.getTempDirectory(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.processSQLiteFile().
Component org.sleuthkit.autopsy.contentviewers.SQLiteViewer.getComponent | ( | ) |
Returns panel
Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.
Definition at line 282 of file SQLiteViewer.java.
List<String> org.sleuthkit.autopsy.contentviewers.SQLiteViewer.getSupportedMIMETypes | ( | ) |
Returns list of MIME types supported by this viewer
Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.
Definition at line 269 of file SQLiteViewer.java.
|
private |
Gets the table names and schemas from the SQLite database file.
Definition at line 395 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 87 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 211 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 226 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.
Definition at line 316 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), org.sleuthkit.autopsy.contentviewers.SQLiteViewer.findAndCopySQLiteMetaFile(), org.sleuthkit.autopsy.casemodule.Case.getOpenCase(), 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 455 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), and 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 | ( | ) |
Clears the data in the panel
Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.
Definition at line 287 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.numEntriesField.
|
private |
Definition at line 477 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.readTable().
|
private |
Definition at line 424 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.currPageLabel, org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), 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 | ) |
Display the given file's content in the view panel
Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.
Definition at line 274 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.processSQLiteFile().
|
private |
Definition at line 242 of file SQLiteViewer.java.
References org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 68 of file SQLiteViewer.java.
|
private |
Definition at line 70 of file SQLiteViewer.java.
|
private |
Definition at line 255 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 256 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 257 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 258 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 259 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents().
|
private |
Definition at line 260 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.SQLiteViewer().
|
staticprivate |
Definition at line 64 of file SQLiteViewer.java.
|
private |
Definition at line 261 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 263 of file SQLiteViewer.java.
Referenced by org.sleuthkit.autopsy.contentviewers.SQLiteViewer.initComponents(), and org.sleuthkit.autopsy.contentviewers.SQLiteViewer.selectTable().
|
private |
Definition at line 69 of file SQLiteViewer.java.
|
private |
Definition at line 264 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 63 of file SQLiteViewer.java.
|
private |
Definition at line 65 of file SQLiteViewer.java.
|
staticprivate |
Definition at line 61 of file SQLiteViewer.java.
|
private |
Definition at line 66 of file SQLiteViewer.java.
|
static |
Definition at line 62 of file SQLiteViewer.java.
|
private |
Definition at line 265 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 67 of file SQLiteViewer.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon May 7 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.