Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition Class Reference

Inherits org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition.

Public Member Functions

 ParentPathCondition (String path)
 
 ParentPathCondition (Pattern path)
 
String getTextToMatch ()
 
boolean isRegex ()
 
boolean passes (AbstractFile file)
 
boolean textMatches (String textToMatch)
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

A file path condition for an interesting files set membership rule. The immutability of a path condition object allows it to be safely published to multiple threads.

Definition at line 816 of file FilesSet.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.ParentPathCondition ( String  path)

Construct a case-insensitive file path condition.

Parameters
pathThe path to be matched.

Definition at line 825 of file FilesSet.java.

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.ParentPathCondition ( Pattern  path)

Construct a file path regular expression condition.

Parameters
pathThe path regular expression to be matched.

Definition at line 834 of file FilesSet.java.

Member Function Documentation

String org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition.getTextToMatch ( )
inherited
boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition.isRegex ( )
inherited

Queries whether or not the text the condition matches is a regular expression.

Returns
True if the text to be matched is a regular expression, false otherwise.

Definition at line 790 of file FilesSet.java.

References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.TextMatcher.isRegex().

boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.passes ( AbstractFile  file)
boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition.textMatches ( String  textToMatch)
inherited

Member Data Documentation

final long org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.serialVersionUID = 1L
staticprivate

Definition at line 818 of file FilesSet.java.


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

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