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

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

Public Member Functions

String getTextToMatch ()
 
boolean isRegex ()
 
boolean textMatches (String subject)
 

Private Attributes

final Pattern regex
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

A text matcher that does regular expression matching.

Definition at line 954 of file FilesSet.java.

Member Function Documentation

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

Get the text the matcher examines.

Returns
The text.

Implements org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.TextMatcher.

Definition at line 970 of file FilesSet.java.

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

Queries whether or not the text the matcher examines is a regular expression.

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

Implements org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.TextMatcher.

Definition at line 975 of file FilesSet.java.

boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.RegexMatcher.textMatches ( String  subject)

Determines whether a string of text is matched.

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

Implements org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.TextMatcher.

Definition at line 980 of file FilesSet.java.

Member Data Documentation

final Pattern org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.RegexMatcher.regex
private

Definition at line 957 of file FilesSet.java.

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

Definition at line 956 of file FilesSet.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.