Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren Class Reference

Inherits org.sleuthkit.autopsy.datamodel.BaseChildFactory< FileTypesKey >, and Observer.

Public Member Functions

void update (Observable o, Object arg)
 

Static Public Member Functions

static void post (String nodeName, Object event) throws NoSuchEventBusException
 
static void register (String nodeName, Object subscriber)
 

Protected Member Functions

void addNotify ()
 
boolean createKeys (List< T > toPopulate)
 
Node createNodeForKey (FileTypesKey key)
 
void finalize () throws Throwable
 
List< FileTypesKey > makeKeys ()
 
void onAdd ()
 
void onRemove ()
 

Private Member Functions

 FileExtensionNodeChildren (FileTypesByExtension.SearchFilterInterface filter, SleuthkitCase skCase, Observable o, String nodeName)
 

Private Attributes

final FileTypesByExtension.SearchFilterInterface filter
 
final Observable notifier
 
final SleuthkitCase skCase
 

Detailed Description

Child node factory for a specific file type - does the database query.

Definition at line 442 of file FileTypesByExtension.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.FileExtensionNodeChildren ( FileTypesByExtension.SearchFilterInterface  filter,
SleuthkitCase  skCase,
Observable  o,
String  nodeName 
)
private
Parameters
filterExtensions to display
skCase
oObservable that will notify when there could be new data to display
nodeName

Definition at line 456 of file FileTypesByExtension.java.

References org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.filter, and org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.skCase.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.addNotify ( )
protectedinherited

Definition at line 120 of file BaseChildFactory.java.

boolean org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.createKeys ( List< T >  toPopulate)
protectedinherited

For page change events and page size change events we simply return the previously calculated set of keys, otherwise we make a new set of keys.

Definition at line 149 of file BaseChildFactory.java.

Node org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.createNodeForKey ( FileTypesKey  key)
protected

Definition at line 483 of file FileTypesByExtension.java.

void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.finalize ( ) throws Throwable
protectedinherited

Definition at line 125 of file BaseChildFactory.java.

List<FileTypesKey> org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.makeKeys ( )
protected
void org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.onAdd ( )
protected

Definition at line 464 of file FileTypesByExtension.java.

void org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.onRemove ( )
protected

Definition at line 471 of file FileTypesByExtension.java.

static void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.post ( String  nodeName,
Object  event 
) throws NoSuchEventBusException
staticinherited

Post the given event for the given node name.

Parameters
nodeNameThe name of the node.
eventThe event to post.
Exceptions
org.sleuthkit.autopsy.datamodel.BaseChildFactory.NoSuchEventBusException

Definition at line 96 of file BaseChildFactory.java.

static void org.sleuthkit.autopsy.datamodel.BaseChildFactory< T extends Content >.register ( String  nodeName,
Object  subscriber 
)
staticinherited

Register the given subscriber for the given node name. Will create the event bus for the given node name if it does not exist.

Parameters
nodeNameThe name of the node.
subscriberThe subscriber to register.

Definition at line 78 of file BaseChildFactory.java.

void org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.update ( Observable  o,
Object  arg 
)

Definition at line 478 of file FileTypesByExtension.java.

Member Data Documentation

final FileTypesByExtension.SearchFilterInterface org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.filter
private
final Observable org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.notifier
private

Definition at line 446 of file FileTypesByExtension.java.

final SleuthkitCase org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileExtensionNodeChildren.skCase
private

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

Copyright © 2012-2022 Basis Technology. Generated on: Mon Nov 28 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.