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

Inherits Observable.

Private Member Functions

 FileTypesByExtObservable ()
 
void removeListeners ()
 
void update ()
 

Private Attributes

final PropertyChangeListener pcl
 

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 75 of file FileTypesByExtension.java.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 116 of file FileTypesByExtension.java.

Member Data Documentation

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.pcl
private
Initial value:
= (PropertyChangeEvent evt) -> {
String eventType = evt.getPropertyName();
if (eventType.equals(IngestManager.IngestModuleEvent.CONTENT_CHANGED.toString()) || eventType.equals(IngestManager.IngestJobEvent.COMPLETED.toString()) || eventType.equals(IngestManager.IngestJobEvent.CANCELLED.toString()) || eventType.equals(Case.Events.DATA_SOURCE_ADDED.toString())) {
try {
Case.getCurrentCase();
update();
} catch (IllegalStateException notUsed) {
}
} else if (eventType.equals(Case.Events.CURRENT_CASE.toString())) {
if (evt.getNewValue() == null) {
}
}
}

Definition at line 91 of file FileTypesByExtension.java.

Referenced by org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.FileTypesByExtObservable(), and org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtObservable.removeListeners().


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

Copyright © 2012-2016 Basis Technology. Generated on: Tue Jun 13 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.