Autopsy  4.16.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 86 of file

Constructor & Destructor Documentation

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

Member Function Documentation

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

Determine whether the given event should result in a refresh.

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 153 of file

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 147 of file

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

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

Member Data Documentation

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

Definition at line 88 of file

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

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

Definition at line 95 of file

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

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.