Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.ContentVisitor< T >.Default< T > Class Template Referenceabstract

Inherits org.sleuthkit.datamodel.ContentVisitor< T >.

Public Member Functions

visit (Directory d)
 
visit (File f)
 
visit (FileSystem fs)
 
visit (Image i)
 
visit (Volume v)
 
visit (Pool p)
 
visit (VolumeSystem vs)
 
visit (LayoutFile lf)
 
visit (VirtualDirectory ld)
 
visit (LocalDirectory ld)
 
visit (DerivedFile df)
 
visit (LocalFile lf)
 
visit (SlackFile sf)
 
visit (BlackboardArtifact ba)
 
visit (Report r)
 
visit (OsAccount act)
 
visit (UnsupportedContent uc)
 

Protected Member Functions

abstract T defaultVisit (Content c)
 

Detailed Description

The default content visitor - quickest method for implementing a custom visitor. Every visit method delegates to the defaultVisit method, the only required method to be implemented. Then, implement the specific visit methods for the objects on which the algorithm needs to act differently.

Parameters
<T>generic type, signifies the object type to be returned from visit()

Definition at line 197 of file ContentVisitor.java.

Member Function Documentation

abstract T org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit ( Content  c)
abstractprotected

Act on (visit) a Directory content object

Parameters
dthe directory to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 202 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a File content object

Parameters
fFile to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 207 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a FileSystem content object

Parameters
fsfile system to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 212 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) an Image content object

Parameters
iimage to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 217 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a Volume content object

Parameters
vvolume to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 222 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a Pool content object

Parameters
ppool to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 227 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a VolumeSystem content object

Parameters
vsvolume system to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 232 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a LayoutFile content object

Parameters
lflayout file to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 237 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a VirtualDirectory content object

Parameters
vdvirtual dir to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 242 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a LocalDirectory content object

Parameters
ldlocal dir to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 247 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a DerivedFile content object

Parameters
lflocal file to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 252 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a LocalFile content object

Parameters
dfderived file to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 257 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a SlackFile content object

Parameters
sfslack file to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 262 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a blackboard artifact object

Parameters
bablackboard artifact object to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 267 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a Report object

Parameters
rreport object to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 272 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) a OsAccount object

Parameters
actOsAccount object to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 277 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().

Act on (visit) an UnsupportedContent object

Parameters
ucUnsupportedContent object to visit / act on
Returns
result of the visit

Implements org.sleuthkit.datamodel.ContentVisitor< T >.

Definition at line 282 of file ContentVisitor.java.

References org.sleuthkit.datamodel.ContentVisitor< T >.Default< T >.defaultVisit().


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

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.