Sleuth Kit Java Bindings (JNI)  4.3
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 (DerivedFile df)
 
visit (LocalFile lf)
 
visit (SlackFile sf)
 

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 143 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 148 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 153 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 158 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 163 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 168 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 173 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 178 of file ContentVisitor.java.

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

Act on (visit) a LayoutDirectory content object

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

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

Definition at line 183 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 188 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 193 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 198 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.