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

Inherits AbstractAction.


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

Detailed Description

Extracts AbstractFiles to a location selected by the user.

Definition at line 52 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.directorytree.ExtractAction.ExtractAction ( )

Private constructor for the action.

Definition at line 73 of file

Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.getInstance().

Member Function Documentation

void org.sleuthkit.autopsy.directorytree.ExtractAction.actionPerformed ( ActionEvent  e)

Asks user to choose destination, then extracts content to destination (recursing on directories).

eThe action event.

Definition at line 84 of file

References org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().

void org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile ( ActionEvent  event,
AbstractFile  selectedFile 
void org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles ( ActionEvent  event,
Collection<?extends AbstractFile >  selectedFiles 
String org.sleuthkit.autopsy.directorytree.ExtractAction.getExportDirectory ( Case  openCase)
static synchronized ExtractAction org.sleuthkit.autopsy.directorytree.ExtractAction.getInstance ( )
void org.sleuthkit.autopsy.directorytree.ExtractAction.runExtractionTasks ( ActionEvent  event,
List< FileExtractionTask fileExtractionTasks 

Execute a series of file extraction tasks.

eventActionEvent whose source will be used for centering popup dialogs.
fileExtractionTasksList of file extraction tasks.

Definition at line 223 of file

References org.sleuthkit.autopsy.coreutils.FileUtil.deleteFileDir(),, and org.sleuthkit.autopsy.datamodel.ContentUtils.isDotDirectory().

Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().

void org.sleuthkit.autopsy.directorytree.ExtractAction.updateExportDirectory ( String  exportPath,
Case  openCase 

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.

exportPathThe export path.
openCaseThe current case.

Definition at line 208 of file

References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory().

Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.extractFile(), and org.sleuthkit.autopsy.directorytree.ExtractAction.extractFiles().

Member Data Documentation

ExtractAction org.sleuthkit.autopsy.directorytree.ExtractAction.instance
Logger org.sleuthkit.autopsy.directorytree.ExtractAction.logger = Logger.getLogger(ExtractAction.class.getName())

Definition at line 54 of file

String org.sleuthkit.autopsy.directorytree.ExtractAction.userDefinedExportPath

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.