Autopsy  3.1
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.AbstractTextFilter Class Referenceabstract

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

Inherited by org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ExtensionFilter, org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FullNameFilter, and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.ParentPathFilter.

Public Member Functions

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

Private Attributes

final TextMatcher textMatcher
 

Detailed Description

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

Definition at line 351 of file FilesSet.java.

Member Function Documentation

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

Get the text the filter matches.

Returns
The text.

Definition at line 382 of file FilesSet.java.

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

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

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

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

Definition at line 394 of file FilesSet.java.

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

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

Determines whether a string of text matches the filter.

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

Definition at line 405 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.AbstractTextFilter.textMatcher
private

Definition at line 353 of file FilesSet.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.