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

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

Inherited by org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionCondition, org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FullNameCondition, and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathCondition.

Public Member Functions

String getTextToMatch ()
 
boolean isRegex ()
 
abstract boolean passes (AbstractFile file)
 
boolean textMatches (String textToMatch)
 

Private Attributes

final TextMatcher textMatcher
 

Detailed Description

An abstract base class for file attribute conditions that do textual matching.

Definition at line 599 of file FilesSet.java.

Member Function Documentation

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

Get the text the condition matches.

Returns
The text.

Definition at line 631 of file FilesSet.java.

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

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

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 643 of file FilesSet.java.

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

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

Determines whether a string of text matches the condition.

Parameters
textToMatchThe text string.
Returns
True if the text matches, false otherwise.

Definition at line 655 of file FilesSet.java.

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

Member Data Documentation

final TextMatcher org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition.textMatcher
private

Definition at line 601 of file FilesSet.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 17 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.