Autopsy  4.6.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Static 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 initComponents ()
 
void updateHelper ()
 

Static Private Member Functions

static String timeZoneToString (TimeZone zone)
 

Private Attributes

javax.swing.JButton browseButton
 
final String contextName
 
javax.swing.JLabel descLabel
 
final JFileChooser fileChooser = new JFileChooser()
 
javax.swing.JCheckBox noFatOrphansCheckbox
 
javax.swing.JLabel pathErrorLabel
 
javax.swing.JLabel pathLabel
 
javax.swing.JTextField pathTextField
 
javax.swing.JComboBox< String > sectorSizeComboBox
 
javax.swing.JLabel sectorSizeLabel
 
javax.swing.JComboBox< String > timeZoneComboBox
 
javax.swing.JLabel timeZoneLabel
 

Static Private Attributes

static final Logger logger = Logger.getLogger(ImageFilePanel.class.getName())
 
static final String PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"
 
static final String[] SECTOR_SIZE_CHOICES = {"Auto Detect", "512", "1024", "2048", "4096"}
 

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 49 of file ImageFilePanel.java.

Constructor & Destructor Documentation

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

Member Function Documentation

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.changedUpdate ( DocumentEvent  e)
static synchronized ImageFilePanel org.sleuthkit.autopsy.casemodule.ImageFilePanel.createInstance ( String  context,
List< FileFilter >  fileChooserFilters 
)
static

Creates and returns an instance of a ImageFilePanel.

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

Definition at line 108 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.ImageFilePanel(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField.

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

String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getContentPaths ( )
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.getNoFatOrphans ( )
int org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSectorSize ( )

Get the sector size.

Returns
0 if autodetect; otherwise the value selected.

Definition at line 281 of file ImageFilePanel.java.

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

String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getTimeZone ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.initComponents ( )
private
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.insertUpdate ( DocumentEvent  e)
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.readSettings ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.removeUpdate ( DocumentEvent  e)
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.reset ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.select ( )

Set the focus to the pathTextField.

Definition at line 402 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField.

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

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.setContentPath ( String  s)
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.storeSettings ( )
static String org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneToString ( TimeZone  zone)
staticprivate

Get a string representation of a TimeZone for use in the drop down list.

Parameters
zoneThe TimeZone to make a string for
Returns
A string representation of a TimeZone for use in the drop down list.

Definition at line 359 of file ImageFilePanel.java.

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

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.updateHelper ( )
private
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel ( )

Member Data Documentation

javax.swing.JButton org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButton
private
final String org.sleuthkit.autopsy.casemodule.ImageFilePanel.contextName
private

Externally supplied name is used to store settings

Definition at line 60 of file ImageFilePanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.descLabel
private
final JFileChooser org.sleuthkit.autopsy.casemodule.ImageFilePanel.fileChooser = new JFileChooser()
private

Definition at line 55 of file ImageFilePanel.java.

final Logger org.sleuthkit.autopsy.casemodule.ImageFilePanel.logger = Logger.getLogger(ImageFilePanel.class.getName())
staticprivate

Definition at line 51 of file ImageFilePanel.java.

javax.swing.JCheckBox org.sleuthkit.autopsy.casemodule.ImageFilePanel.noFatOrphansCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathErrorLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathLabel
private
javax.swing.JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField
private
final String org.sleuthkit.autopsy.casemodule.ImageFilePanel.PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"
staticprivate

Definition at line 52 of file ImageFilePanel.java.

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

Definition at line 53 of file ImageFilePanel.java.

javax.swing.JComboBox<String> org.sleuthkit.autopsy.casemodule.ImageFilePanel.sectorSizeComboBox
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.sectorSizeLabel
private
javax.swing.JComboBox<String> org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneComboBox
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneLabel
private

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

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.