Autopsy
4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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 |
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 831 of file FilesSet.java.
org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.ParentPathCondition | ( | String | path | ) |
Construct a case-insensitive file path condition.
path | The path to be matched. |
Definition at line 840 of file FilesSet.java.
org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.ParentPathCondition | ( | Pattern | path | ) |
Construct a file path regular expression condition.
path | The path regular expression to be matched. |
Definition at line 849 of file FilesSet.java.
|
inherited |
Get the text the condition matches.
Definition at line 793 of file FilesSet.java.
References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.TextMatcher.getTextToMatch().
Referenced by org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.toString().
|
inherited |
Queries whether or not the text the condition matches is a regular expression.
Definition at line 805 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 | ) |
Definition at line 854 of file FilesSet.java.
References org::sleuthkit::datamodel::AbstractFile.getParentPath(), and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition.textMatches().
|
inherited |
Determines whether a string of text matches the condition.
textToMatch | The text string. |
Definition at line 817 of file FilesSet.java.
References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.TextMatcher.textMatches().
Referenced by org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.passes(), org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FullNameCondition.passes(), and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.passes().
|
staticprivate |
Definition at line 833 of file FilesSet.java.
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.