Autopsy  4.6.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.filters.TypeFilter Class Reference

Inherits org.sleuthkit.autopsy.timeline.filters.UnionFilter< TypeFilter >.

Public Member Functions

 TypeFilter (EventType et)
 
void addSubFilter (SubFilterType subfilter)
 
TypeFilter copyOf ()
 
boolean equals (Object obj)
 
Color getColor ()
 
String getDisplayName ()
 
EventType getEventType ()
 
Image getFXImage ()
 
int hashCode ()
 

Protected Member Functions

void addSubFilter (SubFilterType subfilter, Comparator< SubFilterType > comparator)
 

Private Member Functions

 TypeFilter (EventType et, boolean recursive)
 

Private Attributes

final EventType eventType
 

Static Private Attributes

static final Comparator< TypeFiltercomparator = Comparator.comparing(TypeFilter::getEventType, EventType.getComparator())
 

Detailed Description

Event Type Filter. An instance of TypeFilter is usually a tree that parallels the event type hierarchy with one filter/node for each event type.

Definition at line 35 of file TypeFilter.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.filters.TypeFilter.TypeFilter ( EventType  et,
boolean  recursive 
)
private

private constructor that enables non recursive/tree construction of the filter hierarchy for use in TypeFilter#copyOf().

Parameters
etthe event type this filter passes
recursivetrue if subfilters should be added for each subtype. False if no subfilters should be added.

Definition at line 52 of file TypeFilter.java.

References org.sleuthkit.autopsy.timeline.filters.UnionFilter< TypeFilter >.addSubFilter(), and org.sleuthkit.autopsy.timeline.datamodel.eventtype.EventType.getSubTypes().

Referenced by org.sleuthkit.autopsy.timeline.filters.TypeFilter.copyOf(), and org.sleuthkit.autopsy.timeline.filters.TypeFilter.equals().

org.sleuthkit.autopsy.timeline.filters.TypeFilter.TypeFilter ( EventType  et)

public constructor. creates a subfilter for each subtype of the given event type

Parameters
etthe event type this filter will pass

Definition at line 69 of file TypeFilter.java.

Member Function Documentation

void org.sleuthkit.autopsy.timeline.filters.UnionFilter< SubFilterType extends Filter >.addSubFilter ( SubFilterType  subfilter)
inherited
void org.sleuthkit.autopsy.timeline.filters.UnionFilter< SubFilterType extends Filter >.addSubFilter ( SubFilterType  subfilter,
Comparator< SubFilterType >  comparator 
)
protectedinherited

Definition at line 45 of file UnionFilter.java.

TypeFilter org.sleuthkit.autopsy.timeline.filters.TypeFilter.copyOf ( )
boolean org.sleuthkit.autopsy.timeline.filters.TypeFilter.equals ( Object  obj)
Color org.sleuthkit.autopsy.timeline.filters.TypeFilter.getColor ( )
Returns
a color to use in GUI components representing this filter

Definition at line 88 of file TypeFilter.java.

References org.sleuthkit.autopsy.timeline.datamodel.eventtype.EventType.getColor().

String org.sleuthkit.autopsy.timeline.filters.TypeFilter.getDisplayName ( )
EventType org.sleuthkit.autopsy.timeline.filters.TypeFilter.getEventType ( )
Image org.sleuthkit.autopsy.timeline.filters.TypeFilter.getFXImage ( )
Returns
an image to use in GUI components representing this filter

Definition at line 95 of file TypeFilter.java.

References org.sleuthkit.autopsy.timeline.datamodel.eventtype.EventType.getFXImage().

int org.sleuthkit.autopsy.timeline.filters.TypeFilter.hashCode ( )

Definition at line 132 of file TypeFilter.java.

Member Data Documentation

final Comparator<TypeFilter> org.sleuthkit.autopsy.timeline.filters.TypeFilter.comparator = Comparator.comparing(TypeFilter::getEventType, EventType.getComparator())
staticprivate
final EventType org.sleuthkit.autopsy.timeline.filters.TypeFilter.eventType
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon May 7 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.