Autopsy  4.5.0
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 Default< List< LayoutFile > >.

Public Member Functions

List< LayoutFile > visit (final org.sleuthkit.datamodel.LayoutFile lf)
 
List< LayoutFile > visit (FileSystem fs)
 
List< LayoutFile > visit (VirtualDirectory vd)
 
List< LayoutFile > visit (Directory dir)
 

Protected Member Functions

List< LayoutFile > defaultVisit (Content cntnt)
 

Detailed Description

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

Definition at line 371 of file ExtractUnallocAction.java.

Member Function Documentation

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

Definition at line 463 of file ExtractUnallocAction.java.

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.

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

Definition at line 382 of file ExtractUnallocAction.java.

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.

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

Definition at line 400 of file ExtractUnallocAction.java.

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

LayoutDirectory has all the Layout(Unallocated) files

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

Definition at line 424 of file ExtractUnallocAction.java.

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

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

Definition at line 449 of file ExtractUnallocAction.java.


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

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