Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
org.sleuthkit.autopsy.directorytree.actionhelpers.ExtractActionHelper.UIExtractionVisitor< T, V > Class Template Reference

Inherits org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.

Public Member Functions

Void visit (File file)
 
Void visit (LayoutFile file)
 
Void visit (DerivedFile file)
 
Void visit (LocalFile file)
 
Void visit (SlackFile file)
 
Void visit (Directory dir)
 
Void visit (VirtualDirectory dir)
 
Void visit (LocalDirectory dir)
 
Void visitDir (AbstractFile dir)
 

Static Public Member Functions

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

Protected Member Functions

Void defaultVisit (Content content)
 
ExtractFscContentVisitor< T, V > getChildVisitor (File childFile, ProgressHandle progress, SwingWorker< T, V > worker)
 
ExtractFscContentVisitor< T, V > getChildVisitor (java.io.File childFile, ProgressHandle progress, SwingWorker< T, V > worker)
 
Void visitFile (Content file, String fileType)
 
void writeFile (Content file, File dest, ProgressHandle progress, SwingWorker< T, V > worker, boolean source) throws IOException
 
void writeFile (Content file, java.io.File dest, ProgressHandle progress, SwingWorker< T, V > worker, boolean source) throws IOException
 

Detailed Description

A file content extraction visitor that handles for the UI designed to handle file name conflicts by appending the object id to the file name.

Definition at line 279 of file ExtractActionHelper.java.

Member Function Documentation

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

Definition at line 533 of file ContentUtils.java.

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

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

Definition at line 392 of file ContentUtils.java.

Referenced by org.sleuthkit.autopsy.report.modules.html.HTMLReport.saveContent().

ExtractFscContentVisitor<T, V> org.sleuthkit.autopsy.directorytree.actionhelpers.ExtractActionHelper.UIExtractionVisitor< T, V >.getChildVisitor ( File  childFile,
ProgressHandle  progress,
SwingWorker< T, V >  worker 
)
protected

Definition at line 329 of file ExtractActionHelper.java.

ExtractFscContentVisitor<T, V> org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.getChildVisitor ( java.io.File  childFile,
ProgressHandle  progress,
SwingWorker< T, V >  worker 
)
protectedinherited

Returns a visitor to visit any child content.

Parameters
childFileThe disk location where the content will be written.
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
Returns

Definition at line 491 of file ContentUtils.java.

Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir().

Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( File  file)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( LayoutFile  file)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( DerivedFile  file)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( LocalFile  file)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( SlackFile  file)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( Directory  dir)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( VirtualDirectory  dir)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit ( LocalDirectory  dir)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir ( AbstractFile  dir)
inherited
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile ( Content  file,
String  fileType 
)
protectedinherited

Visits a TSK content file and writes that file to disk.

Parameters
fileThe file to be written.
fileTypeThe file type (i.e. "derived file") for error logging.
Returns
null.

Definition at line 420 of file ContentUtils.java.

References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.writeFile().

Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit().

void org.sleuthkit.autopsy.directorytree.actionhelpers.ExtractActionHelper.UIExtractionVisitor< T, V >.writeFile ( Content  file,
File  dest,
ProgressHandle  progress,
SwingWorker< T, V >  worker,
boolean  source 
) throws IOException
protected

Definition at line 314 of file ExtractActionHelper.java.

void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.writeFile ( Content  file,
java.io.File  dest,
ProgressHandle  progress,
SwingWorker< T, V >  worker,
boolean  source 
) throws IOException
protectedinherited

Base method writing a file to disk.

Parameters
fileThe TSK content file.
destThe disk location where the content will be written.
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
Exceptions
IOException

Definition at line 410 of file ContentUtils.java.

References org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().

Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile().


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

Copyright © 2012-2022 Basis Technology. Generated on: Sun Oct 2 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.