Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | List of all members
org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.UnallocVisitor Class Reference

Inherits org.sleuthkit.datamodel.ContentVisitor< class >.Default< List< LayoutFile > >.

Public Member Functions

visit (File f)
visit (VolumeSystem vs)
visit (LocalFile lf)
visit (LayoutFile lf)
visit (DerivedFile df)
visit (Image i)
visit (Volume v)
visit (SlackFile sf)
List< LayoutFilevisit (final org.sleuthkit.datamodel.LayoutFile lf)
List< LayoutFilevisit (FileSystem fs)
List< LayoutFilevisit (VirtualDirectory vd)
List< LayoutFilevisit (Directory dir)

Protected Member Functions

List< LayoutFiledefaultVisit (Content cntnt)

Detailed Description

Private visitor class for going through a Content file and grabbing unallocated files.

Definition at line 365 of file

Member Function Documentation

List<LayoutFile> org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.UnallocVisitor.defaultVisit ( Content  cntnt)

Definition at line 453 of file

List<LayoutFile> org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.UnallocVisitor.visit ( final org.sleuthkit.datamodel.LayoutFile  lf)

If the volume has no FileSystem, then it will call this method to return the single instance of unallocated space.

lfthe LayoutFile the visitor encountered
A list<LayoutFile> of size 1

Definition at line 376 of file

List<LayoutFile> org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.UnallocVisitor.visit ( FileSystem  fs)

If the visitor finds a FileSystem, it will filter the results for directories and return on the Root Dir.

fsthe FileSystem the visitor encountered
A list<LayoutFile> containing the layout files from subsequent Visits(), or an empty list

Definition at line 394 of file

References org::sleuthkit::datamodel::Content.accept(), org::sleuthkit::datamodel::FileSystem.getChildren(), and org::sleuthkit::datamodel::AbstractContent.getId().

List<LayoutFile> org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.UnallocVisitor.visit ( VirtualDirectory  vd)

LayoutDirectory has all the Layout(Unallocated) files

vdVirtualDirectory the visitor encountered
A list<LayoutFile> containing all the LayoutFile in ld, or an empty list.

Definition at line 416 of file

References org::sleuthkit::datamodel::VirtualDirectory.getChildren().

List<LayoutFile> org.sleuthkit.autopsy.directorytree.ExtractUnallocAction.UnallocVisitor.visit ( Directory  dir)

The only time this visitor should ever encounter a directory is when parsing over Root

dirthe directory this visitor encountered
A list<LayoutFile> containing LayoutFiles encountered during subsequent Visits(), or an empty list.

Definition at line 439 of file

References org::sleuthkit::datamodel::Directory.getChildren(), and org::sleuthkit::datamodel::AbstractContent.getId().

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.