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

Inherits JPanel, and DocumentListener.

Public Member Functions

void changedUpdate (DocumentEvent e)
String getContentPaths ()
boolean getNoFatOrphans ()
int getSectorSize ()
String getTimeZone ()
void insertUpdate (DocumentEvent e)
void readSettings ()
void removeUpdate (DocumentEvent e)
void reset ()
void select ()
void setContentPath (String s)
void storeSettings ()
boolean validatePanel ()

Static Public Member Functions

static synchronized ImageFilePanel createInstance (String context, List< FileFilter > fileChooserFilters)

Private Member Functions

 ImageFilePanel (String context, List< FileFilter > fileChooserFilters)
void browseButtonActionPerformed (java.awt.event.ActionEvent evt)
void createTimeZoneList ()
JTextField getMd5TextFieldField ()
JTextField getPathTextField ()
JTextField getSha1TextField ()
JTextField getSha256TextField ()
void initComponents ()
void updateHelper ()

Private Attributes

javax.swing.JButton browseButton
final String contextName
javax.swing.JLabel errorLabel
final JFileChooser fileChooser = new JFileChooser()
javax.swing.JLabel md5HashLabel
javax.swing.JTextField md5HashTextField
javax.swing.JCheckBox noFatOrphansCheckbox
javax.swing.JLabel pathLabel
javax.swing.JTextField pathTextField
javax.swing.JComboBox< String > sectorSizeComboBox
javax.swing.JLabel sectorSizeLabel
javax.swing.JLabel sha1HashLabel
javax.swing.JTextField sha1HashTextField
javax.swing.JLabel sha256HashLabel
javax.swing.JTextField sha256HashTextField
javax.swing.JComboBox< String > timeZoneComboBox
javax.swing.JLabel timeZoneLabel

Static Private Attributes

static final String PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"
static final String[] SECTOR_SIZE_CHOICES = {"Auto Detect", "512", "1024", "2048", "4096"}
static final long serialVersionUID = 1L

Detailed Description

Panel for adding an image file such as .img, .E0x, .00x, etc. Allows the user to select a file as well as choose the timezone and whether to ignore orphan files in FAT32.

Definition at line 46 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.ImageFilePanel.ImageFilePanel ( String  context,
List< FileFilter >  fileChooserFilters 

Creates new form ImageFilePanel

contextA string context name used to read/store last used settings.
fileChooserFiltersA list of filters to be used with the FileChooser.

Definition at line 62 of file

Member Function Documentation

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButtonActionPerformed ( java.awt.event.ActionEvent  evt)

Definition at line 268 of file

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.changedUpdate ( DocumentEvent  e)

Definition at line 442 of file

static synchronized ImageFilePanel org.sleuthkit.autopsy.casemodule.ImageFilePanel.createInstance ( String  context,
List< FileFilter >  fileChooserFilters 

Creates and returns an instance of a ImageFilePanel.

contextA string context name used to read/store last used settings.
fileChooserFiltersA list of filters to be used with the FileChooser.
instance of the ImageFilePanel

Definition at line 110 of file

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.getMd5TextFieldField(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.getPathTextField(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSha1TextField(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSha256TextField().

Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.ImageDSProcessor().

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.createTimeZoneList ( )

Creates the drop down list for the time zones and defaults the selection to the local machine time zone.

Definition at line 90 of file

References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.createTimeZoneList(), and org.sleuthkit.autopsy.coreutils.TimeZoneUtils.createTimeZoneString().

String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getContentPaths ( )

Get the path of the user selected image.

the image path

Definition at line 318 of file

Referenced by

JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.getMd5TextFieldField ( )
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.getNoFatOrphans ( )
JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.getPathTextField ( )
int org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSectorSize ( )

Get the sector size.

0 if autodetect; otherwise the value selected.

Definition at line 336 of file

Referenced by

JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSha1TextField ( )
JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSha256TextField ( )
String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getTimeZone ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.initComponents ( )

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 142 of file

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.insertUpdate ( DocumentEvent  e)

Definition at line 432 of file

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.readSettings ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.removeUpdate ( DocumentEvent  e)

Definition at line 437 of file

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.reset ( )
void ( )

Set the focus to the pathTextField.

Definition at line 462 of file

Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.getPanel().

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.setContentPath ( String  s)

Set the path of the image file.

spath of the image file

Definition at line 327 of file

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.storeSettings ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.updateHelper ( )

Update functions are called by the pathTextField which has this set as it's DocumentEventListener. Each update function fires a property change to be caught by the parent panel.

Definition at line 455 of file

References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.

boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel ( )

Member Data Documentation

javax.swing.JButton org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButton

Definition at line 296 of file

final String org.sleuthkit.autopsy.casemodule.ImageFilePanel.contextName

Definition at line 52 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.errorLabel

Definition at line 297 of file

final JFileChooser org.sleuthkit.autopsy.casemodule.ImageFilePanel.fileChooser = new JFileChooser()

Definition at line 51 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.md5HashLabel

Definition at line 298 of file

javax.swing.JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.md5HashTextField

Definition at line 299 of file

javax.swing.JCheckBox org.sleuthkit.autopsy.casemodule.ImageFilePanel.noFatOrphansCheckbox

Definition at line 300 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathLabel

Definition at line 301 of file

javax.swing.JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField

Definition at line 302 of file

final String org.sleuthkit.autopsy.casemodule.ImageFilePanel.PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"

Definition at line 49 of file

final String [] org.sleuthkit.autopsy.casemodule.ImageFilePanel.SECTOR_SIZE_CHOICES = {"Auto Detect", "512", "1024", "2048", "4096"}

Definition at line 50 of file

javax.swing.JComboBox<String> org.sleuthkit.autopsy.casemodule.ImageFilePanel.sectorSizeComboBox

Definition at line 303 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.sectorSizeLabel

Definition at line 304 of file

final long org.sleuthkit.autopsy.casemodule.ImageFilePanel.serialVersionUID = 1L

Definition at line 48 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.sha1HashLabel

Definition at line 305 of file

javax.swing.JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.sha1HashTextField

Definition at line 306 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.sha256HashLabel

Definition at line 307 of file

javax.swing.JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.sha256HashTextField

Definition at line 308 of file

javax.swing.JComboBox<String> org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneComboBox

Definition at line 309 of file

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneLabel

Definition at line 310 of file

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

Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.