Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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"} |
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.
|
private |
Creates new form ImageFilePanel
context | A string context name used to read/store last used settings. |
fileChooserFilters | A list of filters to be used with the FileChooser. |
Definition at line 70 of file ImageFilePanel.java.
|
private |
Definition at line 218 of file ImageFilePanel.java.
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.changedUpdate | ( | DocumentEvent | e | ) |
Definition at line 377 of file ImageFilePanel.java.
|
static |
Creates and returns an instance of a ImageFilePanel.
context | A string context name used to read/store last used settings. |
fileChooserFilters | A list of filters to be used with the FileChooser. |
Definition at line 108 of file ImageFilePanel.java.
References org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.ImageDSProcessor().
String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getContentPaths | ( | ) |
Get the path of the user selected image.
Definition at line 263 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.run().
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.getNoFatOrphans | ( | ) |
Definition at line 296 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.run().
int org.sleuthkit.autopsy.casemodule.ImageFilePanel.getSectorSize | ( | ) |
Get the sector size.
Definition at line 281 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.run().
String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getTimeZone | ( | ) |
Definition at line 291 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.run().
|
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 121 of file ImageFilePanel.java.
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.insertUpdate | ( | DocumentEvent | e | ) |
Definition at line 367 of file ImageFilePanel.java.
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.readSettings | ( | ) |
Definition at line 344 of file ImageFilePanel.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting().
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.getPanel().
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.removeUpdate | ( | DocumentEvent | e | ) |
Definition at line 372 of file ImageFilePanel.java.
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.reset | ( | ) |
Definition at line 300 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.reset().
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.select | ( | ) |
Set the focus to the pathTextField.
Definition at line 402 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.getPanel().
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.setContentPath | ( | String | s | ) |
Set the path of the image file.
s | path of the image file |
Definition at line 272 of file ImageFilePanel.java.
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.storeSettings | ( | ) |
Definition at line 336 of file ImageFilePanel.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting().
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.run().
|
staticprivate |
Get a string representation of a TimeZone for use in the drop down list.
zone | The TimeZone to make a string for |
Definition at line 359 of file ImageFilePanel.java.
|
private |
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 390 of file ImageFilePanel.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel | ( | ) |
Should we enable the next button of the wizard?
Definition at line 313 of file ImageFilePanel.java.
References org.sleuthkit.autopsy.casemodule.Case.getCaseType(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.coreutils.DriveUtils.isPartition(), org.sleuthkit.autopsy.coreutils.DriveUtils.isPhysicalDrive(), and org.sleuthkit.autopsy.coreutils.PathValidator.isValid().
Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.isPanelValid().
|
private |
Definition at line 246 of file ImageFilePanel.java.
|
private |
Externally supplied name is used to store settings
Definition at line 60 of file ImageFilePanel.java.
|
private |
Definition at line 247 of file ImageFilePanel.java.
|
private |
Definition at line 55 of file ImageFilePanel.java.
|
staticprivate |
Definition at line 51 of file ImageFilePanel.java.
|
private |
Definition at line 248 of file ImageFilePanel.java.
|
private |
Definition at line 249 of file ImageFilePanel.java.
|
private |
Definition at line 250 of file ImageFilePanel.java.
|
private |
Definition at line 251 of file ImageFilePanel.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageFilePanel.createInstance().
|
staticprivate |
Definition at line 52 of file ImageFilePanel.java.
|
staticprivate |
Definition at line 53 of file ImageFilePanel.java.
|
private |
Definition at line 252 of file ImageFilePanel.java.
|
private |
Definition at line 253 of file ImageFilePanel.java.
|
private |
Definition at line 254 of file ImageFilePanel.java.
|
private |
Definition at line 255 of file ImageFilePanel.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.