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

Inherits Detachable< BlackboardArtifact >.

Public Member Functions

 ArtifactFactory (BlackboardArtifact.Type type)
 

Protected Member Functions

void addNotify ()
 
boolean createKeys (List< BlackboardArtifact > list)
 
Node createNodeForKey (BlackboardArtifact key)
 
void removeNotify ()
 

Private Attributes

final PropertyChangeListener pcl
 
BlackboardArtifact.Type type
 

Detailed Description

Creates children for a given artifact type

Definition at line 381 of file ExtractedContent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.ArtifactFactory ( BlackboardArtifact.Type  type)

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.addNotify ( )
protected
boolean org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.createKeys ( List< BlackboardArtifact >  list)
protected
Node org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.createNodeForKey ( BlackboardArtifact  key)
protected

Definition at line 464 of file ExtractedContent.java.

void org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.removeNotify ( )
protected

Member Data Documentation

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.pcl
private
Initial value:
= new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
String eventType = evt.getPropertyName();
if (eventType.equals(IngestManager.IngestModuleEvent.DATA_ADDED.toString())) {
try {
Case.getCurrentCase();
final ModuleDataEvent event = (ModuleDataEvent) evt.getOldValue();
if (null != event && event.getBlackboardArtifactType().equals(type)) {
refresh(true);
}
} catch (IllegalStateException notUsed) {
}
} else if (eventType.equals(IngestManager.IngestJobEvent.COMPLETED.toString())
|| eventType.equals(IngestManager.IngestJobEvent.CANCELLED.toString())) {
try {
Case.getCurrentCase();
refresh(true);
} catch (IllegalStateException notUsed) {
}
}
}
}

Definition at line 390 of file ExtractedContent.java.

BlackboardArtifact.Type org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.type
private

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.