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

Inherits Observable, and org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.

Public Member Functions

boolean isRefreshRequired (PropertyChangeEvent evt)
 
void refresh ()
 

Private Member Functions

 FileTypesByExtObservable ()
 
void removeListeners ()
 
void update ()
 

Private Attributes

final Set< Case.Events > CASE_EVENTS_OF_INTEREST
 
final PropertyChangeListener pcl
 
final RefreshThrottler refreshThrottler = new RefreshThrottler(this)
 

Detailed Description

Listens for case and ingest invest. Updates observers when events are fired. FileType and FileTypes nodes are all listening to this.

Definition at line 89 of file FileTypesByExtension.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.FileTypesByExtObservable ( )
private

Member Function Documentation

boolean org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.isRefreshRequired ( PropertyChangeEvent  evt)

Determine whether the given event should result in a refresh.

Parameters
evt
Returns
true if event should trigger a refresh, otherwise false.

Checking for a current case is a stop gap measure until a different way of handling the closing of cases is worked out. Currently, remote events may be received for a case that is already closed.

If a new file has been added but does not have an extension there is nothing to do.

Case is closed, no refresh needed.

Implements org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.

Definition at line 156 of file FileTypesByExtension.java.

References org.sleuthkit.autopsy.ingest.IngestManager.IngestModuleEvent.CONTENT_CHANGED, and org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows().

void org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.refresh ( )

The RefreshThrottler calls this method when the RefreshTask runs.

Implements org.sleuthkit.autopsy.guiutils.RefreshThrottler.Refresher.

Definition at line 150 of file FileTypesByExtension.java.

References org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.update().

void org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.removeListeners ( )
private
void org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.update ( )
private

Member Data Documentation

final Set<Case.Events> org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.CASE_EVENTS_OF_INTEREST
private
final PropertyChangeListener org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.pcl
private

Definition at line 91 of file FileTypesByExtension.java.

final RefreshThrottler org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.refreshThrottler = new RefreshThrottler(this)
private

RefreshThrottler is used to limit the number of refreshes performed when CONTENT_CHANGED and DATA_ADDED ingest module events are received.

Definition at line 98 of file FileTypesByExtension.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.