|
Autopsy
4.22.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition, and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FileNameCondition.
Public Member Functions | |
| ExtensionCondition (String extension) | |
| ExtensionCondition (List< String > extensions) | |
| ExtensionCondition (Pattern extension) | |
| String | getTextToMatch () |
| boolean | isRegex () |
| boolean | passes (AbstractFile file) |
| boolean | textMatches (String textToMatch) |
Static Private Member Functions | |
| static List< String > | normalize (List< String > extensions) |
| static String | normalize (String extension) |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
A file name extension condition for an interesting files set membership rule. The immutability of a file name extension condition object allows it to be safely published to multiple threads.
Definition at line 948 of file FilesSet.java.
| org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.ExtensionCondition | ( | String | extension | ) |
Construct a case-insensitive file name extension condition.
| extension | The file name extension to be matched. |
Definition at line 957 of file FilesSet.java.
References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.normalize().
| org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.ExtensionCondition | ( | List< String > | extensions | ) |
Construct a case-insensitive file name extension condition.
| extensions | The file name extensions to be matched. |
Definition at line 969 of file FilesSet.java.
References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.normalize().
| org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.ExtensionCondition | ( | Pattern | extension | ) |
Construct a file name extension regular expression condition.
| extension | The file name extension regular expression to be matched. |
Definition at line 982 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().
|
staticprivate |
Strip "." from the start of extensions in the provided list.
| extensions | The list of extensions to be processed. |
Definition at line 998 of file FilesSet.java.
Referenced by org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.ExtensionCondition().
|
staticprivate |
Strip "." from the start of the provided extension.
| extension | The extension to be processed. |
Definition at line 1015 of file FilesSet.java.
| boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.passes | ( | AbstractFile | file | ) |
Definition at line 987 of file FilesSet.java.
References org::sleuthkit::datamodel::AbstractFile.getNameExtension(), 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 950 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.