Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V > Class Template Reference

Inherits org.sleuthkit.datamodel.ContentVisitor< class >.Default< Void >.

Public Member Functions

 ExtractFscContentVisitor ( dest, ProgressHandle progress, SwingWorker< T, V > worker, boolean source)
 ExtractFscContentVisitor ( dest)
visit (FileSystem fs)
visit (Image i)
visit (Volume v)
visit (VolumeSystem vs)
Void visit (File f)
Void visit (LayoutFile f)
Void visit (DerivedFile df)
Void visit (LocalFile lf)
Void visit (SlackFile f)
Void visit (Directory dir)
Void visit (VirtualDirectory dir)
Void visitDir (AbstractFile dir)

Static Public Member Functions

static< T, V > void extract (Content cntnt, dest, ProgressHandle progress, SwingWorker< T, V > worker)

Protected Member Functions

Void defaultVisit (Content content)

Private Member Functions getFsContentDest (Content fsc)

Detailed Description

Extracts file/folder as given destination file, recursing into folders. Assumes there will be no collisions with existing directories/files, and that the directory to contain the destination file already exists.

Definition at line 273 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.ExtractFscContentVisitor (  dest,
ProgressHandle  progress,
SwingWorker< T, V >  worker,
boolean  source 

Make new extractor for a specific destination

destThe file/folder visited will be extracted as this file
progressprogress bar handle to update, if available. null otherwise
workerthe swing worker background thread the process runs within, or null, if in the main thread, used to handle task cancellation
sourcetrue if source file

Definition at line 292 of file

Definition at line 300 of file

Member Function Documentation

Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.defaultVisit ( Content  content)

Definition at line 425 of file

static <T,V> void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.extract ( Content  cntnt,  dest,
ProgressHandle  progress,
SwingWorker< T, V >  worker 

Convenience method to make a new instance for given destination and extract given content

Definition at line 308 of file

References org::sleuthkit::datamodel::Content.accept().

Referenced by org.sleuthkit.autopsy.directorytree.ExtractAction.FileExtracter.doInBackground(). org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.getFsContentDest ( Content  fsc)

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Apr 24 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.