Sleuth Kit Java Bindings (JNI)  4.4.1
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 (VolumeSystem vs)
 
visit (LayoutFile lf)
 
visit (VirtualDirectory ld)
 
visit (LocalDirectory ld)
 
visit (DerivedFile df)
 
visit (LocalFile lf)
 
visit (SlackFile sf)
 
visit (BlackboardArtifact ba)
 

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 161 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 166 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 171 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 176 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 181 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 186 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 191 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 196 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 201 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 206 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 211 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 216 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 221 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 226 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-2015 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.