Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog Class Reference

Inherits JDialog.

Private Member Functions

void display (Component parent)
 
void finish (boolean success)
 
void getHashesFromTextArea (String text)
 
void initComponents ()
 
void okButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void showErrorsButtonActionPerformed (java.awt.event.ActionEvent evt)
 

Private Attributes

javax.swing.JProgressBar addingHashesToDatabaseProgressBar
 
boolean disposeParent = false
 
String errorMessage
 
String errorTitle
 
final HashDb hashDb
 
final List< HashEntry > hashes
 
final List< String > invalidHashes
 
javax.swing.JButton okButton
 
final AddHashValuesToDatabaseDialog parentRef
 
javax.swing.JButton showErrorsButton
 
javax.swing.JLabel statusLabel
 
final String text
 

Static Private Attributes

static final int COMMENT_GROUP = 3
 
static final int HASH_GROUP = 1
 
static final Pattern HASH_LINE_PATTERN = Pattern.compile("^([a-fA-F0-9]{32})(,(.*))?$")
 

Detailed Description

Progress dialog for MD5 hash values being added to the hash database.

Definition at line 43 of file AddHashValuesToDatabaseProgressDialog.java.

Member Function Documentation

void org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.display ( Component  parent)
private

Definition at line 80 of file AddHashValuesToDatabaseProgressDialog.java.

void org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.finish ( boolean  success)
private

Sets the progressbar to maximum value, change colors accordingly, and enables OK button.

Parameters
success

Definition at line 141 of file AddHashValuesToDatabaseProgressDialog.java.

void org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.getHashesFromTextArea ( String  text)
private

Parses for String for MD5 hashes and adds new HashEntry objects into the list of hashes. It also populates the invalidHashes list for user-feedback.

Parameters
text

Definition at line 166 of file AddHashValuesToDatabaseProgressDialog.java.

void org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.initComponents ( )
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 195 of file AddHashValuesToDatabaseProgressDialog.java.

void org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.okButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 259 of file AddHashValuesToDatabaseProgressDialog.java.

void org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.showErrorsButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 267 of file AddHashValuesToDatabaseProgressDialog.java.

Member Data Documentation

javax.swing.JProgressBar org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.addingHashesToDatabaseProgressBar
private

Definition at line 278 of file AddHashValuesToDatabaseProgressDialog.java.

final int org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.COMMENT_GROUP = 3
staticprivate

Definition at line 56 of file AddHashValuesToDatabaseProgressDialog.java.

boolean org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.disposeParent = false
private

Definition at line 46 of file AddHashValuesToDatabaseProgressDialog.java.

String org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.errorMessage
private

Definition at line 59 of file AddHashValuesToDatabaseProgressDialog.java.

String org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.errorTitle
private

Definition at line 58 of file AddHashValuesToDatabaseProgressDialog.java.

final int org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.HASH_GROUP = 1
staticprivate

Definition at line 54 of file AddHashValuesToDatabaseProgressDialog.java.

final Pattern org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.HASH_LINE_PATTERN = Pattern.compile("^([a-fA-F0-9]{32})(,(.*))?$")
staticprivate

Definition at line 52 of file AddHashValuesToDatabaseProgressDialog.java.

final HashDb org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.hashDb
private

Definition at line 47 of file AddHashValuesToDatabaseProgressDialog.java.

final List<HashEntry> org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.hashes
private

Definition at line 48 of file AddHashValuesToDatabaseProgressDialog.java.

final List<String> org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.invalidHashes
private

Definition at line 49 of file AddHashValuesToDatabaseProgressDialog.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.okButton
private

Definition at line 279 of file AddHashValuesToDatabaseProgressDialog.java.

final AddHashValuesToDatabaseDialog org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.parentRef
private

Definition at line 45 of file AddHashValuesToDatabaseProgressDialog.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.showErrorsButton
private

Definition at line 280 of file AddHashValuesToDatabaseProgressDialog.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.statusLabel
private

Definition at line 281 of file AddHashValuesToDatabaseProgressDialog.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddHashValuesToDatabaseProgressDialog.text
private

Definition at line 60 of file AddHashValuesToDatabaseProgressDialog.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.