Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.SleuthkitItemVisitor< T > Interface Template Reference

Inherited by org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Classes

class  Default
 

Public Member Functions

visit (Directory d)
 
visit (File f)
 
visit (FileSystem fs)
 
visit (Image i)
 
visit (Volume v)
 
visit (VolumeSystem vs)
 
visit (Pool pool)
 
visit (BlackboardArtifact ba)
 
visit (BlackboardArtifact.ARTIFACT_TYPE tw)
 
visit (LayoutFile lf)
 
visit (VirtualDirectory ld)
 
visit (LocalDirectory ld)
 
visit (DerivedFile df)
 
visit (LocalFile lf)
 
visit (SlackFile sf)
 
visit (Report report)
 
visit (OsAccount account)
 
visit (UnsupportedContent unsupportedContent)
 
visit (LocalFilesDataSource localFilesDataSource)
 

Detailed Description

Interface for implementing a visitor pattern on all displayable items: Content implementations and blackboard artifacts.

Visitor implements an algorithm on the content and blackboard artifacts objects. The algorithm is completely decoupled from the data object. The visitor pattern emulates double dispatch mechanism. It allows to act differently depending on the instance type, without need to test what the actual type is. E.g. it allows for processing an object hierarchy without using instanceof statements. Generic type parameter T is a return type from the visit methods.

Parameters
<T>return type of visit methods

Definition at line 35 of file SleuthkitItemVisitor.java.

Member Function Documentation

Act on (visit) a Directory content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Referenced by org.sleuthkit.datamodel.BlackboardArtifact.ARTIFACT_TYPE.accept().

Act on (visit) a File content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a FileSystem content object

Parameters
fsthe filesystem to visit / act on
Returns
result of the visit

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) an Image content object

Parameters
ithe image to visit / act on
Returns
result of the visit

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a Volume content object

Parameters
vthe volume to visit / act on
Returns
result of the visit

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a VolumeSystem content object

Parameters
vsthe volume system to visit / act on
Returns
result of the visit

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a Pool content object

Parameters
poolthe volume system to visit / act on
Returns
result of the visit

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a blackboard artifact object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

T org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.visit ( BlackboardArtifact.ARTIFACT_TYPE  tw)

Act on (visit) a blackboard artifact type

Parameters
twblackboard artifact type to visit / act on
Returns
result of the visit

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a layout file content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a VirtualDirectory content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a LocalDirectory content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a DerivedFile content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a LocalFile content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a SlackFile content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a Report content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a OsAccount content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) an UnsupportedContent object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.

Act on (visit) a LocalFilesDataSource content object

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

Implemented in org.sleuthkit.datamodel.SleuthkitItemVisitor< T >.Default< T >.


The documentation for this interface 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.