Autopsy  4.6.0
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.ExtensionCondition Class Reference

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 (Pattern extension)
String getTextToMatch ()
boolean isRegex ()
boolean passes (AbstractFile file)
boolean textMatches (String textToMatch)

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

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 814 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.ExtensionCondition ( String  extension)

Construct a case-insensitive file name extension condition.

extensionThe file name extension to be matched.

Definition at line 823 of file

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition.ExtensionCondition ( Pattern  extension)

Construct a file name extension regular expression condition.

extensionThe file name extension regular expression to be matched.

Definition at line 836 of file

Member Function Documentation

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

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

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

Definition at line 670 of file

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

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

Member Data Documentation

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

Definition at line 816 of file

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.