|
Autopsy
4.16.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 871 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 880 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 892 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 905 of file FilesSet.java.
|
inherited |
Get the text the condition matches.
Definition at line 716 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 728 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 921 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 938 of file FilesSet.java.
| boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.passes | ( | AbstractFile | file | ) |
Definition at line 910 of file FilesSet.java.
References 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 740 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 873 of file FilesSet.java.
Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.