Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits AbstractAction.
Classes | |
class | FileExtracter |
class | FileExtractionTask |
Public Member Functions | |
void | actionPerformed (ActionEvent e) |
Static Public Member Functions | |
static synchronized ExtractAction | getInstance () |
Private Member Functions | |
ExtractAction () | |
void | extractFile (ActionEvent event, AbstractFile selectedFile) |
void | extractFiles (ActionEvent event, Collection<?extends AbstractFile > selectedFiles) |
String | getExportDirectory (Case openCase) |
void | runExtractionTasks (ActionEvent event, List< FileExtractionTask > fileExtractionTasks) |
void | updateExportDirectory (String exportPath, Case openCase) |
Private Attributes | |
Logger | logger = Logger.getLogger(ExtractAction.class.getName()) |
String | userDefinedExportPath |
Static Private Attributes | |
static ExtractAction | instance |
Extracts AbstractFiles to a location selected by the user.
Definition at line 52 of file ExtractAction.java.
|
private |
Private constructor for the action.
Definition at line 73 of file ExtractAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.getInstance().
void org.sleuthkit.autopsy.directorytree.ExtractAction.actionPerformed | ( | ActionEvent | e | ) |
Asks user to choose destination, then extracts content to destination (recursing on directories).
e | The action event. |
Definition at line 84 of file ExtractAction.java.
References org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().
|
private |
Called when user has selected a single file to extract
event | |
selectedFile | Selected file |
Definition at line 105 of file ExtractAction.java.
References org.sleuthkit.autopsy.coreutils.FileUtil.escapeFileName(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.directorytree.ExtractAction.getExportDirectory(), org.sleuthkit.autopsy.directorytree.ExtractAction.runExtractionTasks(), and org.sleuthkit.autopsy.directorytree.ExtractAction.updateExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.actionPerformed().
|
private |
Called when a user has selected multiple files to extract
event | |
selectedFiles | Selected files |
Definition at line 133 of file ExtractAction.java.
References org.sleuthkit.autopsy.coreutils.FileUtil.escapeFileName(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.directorytree.ExtractAction.getExportDirectory(), org.sleuthkit.autopsy.directorytree.ExtractAction.runExtractionTasks(), and org.sleuthkit.autopsy.directorytree.ExtractAction.updateExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.actionPerformed().
|
private |
Get the export directory path.
openCase | The current case. |
Definition at line 184 of file ExtractAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory(), and org.sleuthkit.autopsy.directorytree.ExtractAction.userDefinedExportPath.
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().
|
static |
Definition at line 63 of file ExtractAction.java.
References org.sleuthkit.autopsy.directorytree.ExtractAction.ExtractAction(), and org.sleuthkit.autopsy.directorytree.ExtractAction.instance.
Referenced by org.sleuthkit.autopsy.datamodel.SpecialDirectoryNode.getActions(), org.sleuthkit.autopsy.datamodel.LocalFileNode.getActions(), org.sleuthkit.autopsy.datamodel.SlackFileNode.getActions(), org.sleuthkit.autopsy.datamodel.DirectoryNode.getActions(), org.sleuthkit.autopsy.datamodel.DataModelActionsFactory.getActions(), org.sleuthkit.autopsy.datamodel.LayoutFileNode.getActions(), org.sleuthkit.autopsy.datamodel.FileNode.getActions(), org.sleuthkit.autopsy.keywordsearch.AdHocSearchFilterNode.GetPopupActionsContentVisitor.getFileActions(), org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.visit(), and org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPopupActionsDisplayableItemNodeVisitor.visit().
|
private |
Execute a series of file extraction tasks.
event | ActionEvent whose source will be used for centering popup dialogs. |
fileExtractionTasks | List of file extraction tasks. |
Definition at line 223 of file ExtractAction.java.
References org.sleuthkit.autopsy.coreutils.FileUtil.deleteFileDir(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.info(), and org.sleuthkit.autopsy.datamodel.ContentUtils.isDotDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().
|
private |
Update the default export directory. If the directory path matches the case export directory, then the directory used will always match the export directory of any given case. Otherwise, the path last used will be saved.
exportPath | The export path. |
openCase | The current case. |
Definition at line 208 of file ExtractAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().
|
staticprivate |
Definition at line 61 of file ExtractAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.getInstance().
|
private |
Definition at line 54 of file ExtractAction.java.
|
private |
Definition at line 56 of file ExtractAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.getExportDirectory().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.