Autopsy
4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.datamodel.ContentVisitor< class >.Default< Void >.
Inherited by org.sleuthkit.autopsy.directorytree.actionhelpers.ExtractActionHelper.UIExtractionVisitor< T, V >.
Public Member Functions | |
ExtractFscContentVisitor (java.io.File dest, ProgressHandle progress, SwingWorker< T, V > worker, boolean source) | |
ExtractFscContentVisitor (java.io.File dest) | |
T | visit (OsAccount act) |
T | visit (VolumeSystem vs) |
T | visit (BlackboardArtifact ba) |
T | visit (Report r) |
T | visit (Pool p) |
T | visit (UnsupportedContent uc) |
T | visit (FileSystem fs) |
T | visit (Image i) |
T | visit (Volume v) |
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 (java.io.File childFile, ProgressHandle progress, SwingWorker< T, V > worker) |
Void | visitFile (Content file, String fileType) |
void | writeFile (Content file, java.io.File dest, ProgressHandle progress, SwingWorker< T, V > worker, boolean source) throws IOException |
Private Member Functions | |
java.io.File | getFsContentDest (Content content) |
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 357 of file ContentUtils.java.
org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.ExtractFscContentVisitor | ( | java.io.File | dest, |
ProgressHandle | progress, | ||
SwingWorker< T, V > | worker, | ||
boolean | source | ||
) |
Make new extractor for a specific destination
dest | The file/folder visited will be extracted as this file |
progress | progress bar handle to update, if available. null otherwise |
worker | the swing worker background thread the process runs within, or null, if in the main thread, used to handle task cancellation |
source | true if source file |
Definition at line 376 of file ContentUtils.java.
org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.ExtractFscContentVisitor | ( | java.io.File | dest | ) |
Definition at line 384 of file ContentUtils.java.
|
protected |
Definition at line 533 of file ContentUtils.java.
|
static |
Convenience method to make a new instance for given destination and extract given content
Definition at line 392 of file ContentUtils.java.
References org::sleuthkit::datamodel::Content.accept().
Referenced by org.sleuthkit.autopsy.report.modules.html.HTMLReport.saveContent().
|
protected |
Returns a visitor to visit any child content.
childFile | The disk location where the content will be written. |
progress | progress bar handle to update, if available. null otherwise |
worker | the swing worker background thread the process runs within, or null, if in the main thread, used to handle task cancellation |
Definition at line 491 of file ContentUtils.java.
Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir().
|
private |
Definition at line 475 of file ContentUtils.java.
References org::sleuthkit::datamodel::File.File(), and org::sleuthkit::datamodel::Content.getName().
Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | File | file | ) |
Definition at line 436 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | LayoutFile | file | ) |
Definition at line 441 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | DerivedFile | file | ) |
Definition at line 446 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | LocalFile | file | ) |
Definition at line 451 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | SlackFile | file | ) |
Definition at line 456 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitFile().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | Directory | dir | ) |
Definition at line 461 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | VirtualDirectory | dir | ) |
Definition at line 466 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit | ( | LocalDirectory | dir | ) |
Definition at line 471 of file ContentUtils.java.
References org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir().
Void org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visitDir | ( | AbstractFile | dir | ) |
Definition at line 495 of file ContentUtils.java.
References org::sleuthkit::datamodel::File.File(), org::sleuthkit::datamodel::AbstractContent.getChildren(), org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.getChildVisitor(), org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.getFsContentDest(), and org.sleuthkit.autopsy.datamodel.ContentUtils.isDotDirectory().
Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit().
|
protected |
Visits a TSK content file and writes that file to disk.
file | The file to be written. |
fileType | The file type (i.e. "derived file") for error logging. |
Definition at line 420 of file ContentUtils.java.
References org::sleuthkit::datamodel::Content.getId(), org::sleuthkit::datamodel::Content.getName(), and org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.writeFile().
Referenced by org.sleuthkit.autopsy.datamodel.ContentUtils.ExtractFscContentVisitor< T, V >.visit().
|
protected |
Base method writing a file to disk.
file | The TSK content file. |
dest | The disk location where the content will be written. |
progress | progress bar handle to update, if available. null otherwise |
worker | the swing worker background thread the process runs within, or null, if in the main thread, used to handle task cancellation |
source | true if source file |
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().
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.