Autopsy  4.7.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.FullNameCondition Class Reference

Inherits org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.AbstractTextCondition, and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FileNameCondition.

Public Member Functions

 FullNameCondition (String name)
 
 FullNameCondition (Pattern name)
 
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 condition for an interesting files set membership rule. The immutability of a file name condition object allows it to be safely published to multiple threads.

Definition at line 738 of file FilesSet.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FullNameCondition.FullNameCondition ( String  name)

Construct a case-insensitive full file name condition.

Parameters
nameThe file name to be matched.

Definition at line 747 of file FilesSet.java.

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.FullNameCondition.FullNameCondition ( Pattern  name)

Construct a full file name regular expression condition.

Parameters
nameThe file name regular expression to be matched.

Definition at line 756 of file FilesSet.java.

Member Function Documentation

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

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

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

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

Member Data Documentation

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

Definition at line 740 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.