Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm Class Reference

Public Member Functions

 ParentSearchTerm (String searchStr, boolean isFullPath, boolean isIncluded)
 
String getSearchStr ()
 
String getSQLForTerm ()
 
boolean isFullPath ()
 
boolean isIncluded ()
 
String toString ()
 

Private Attributes

final boolean fullPath
 
final boolean included
 
final String searchStr
 

Detailed Description

A utility class for the ParentFilter to store the search string and whether it is a full path or a sub-string.

Definition at line 328 of file SearchFiltering.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.ParentSearchTerm ( String  searchStr,
boolean  isFullPath,
boolean  isIncluded 
)

Create the ParentSearchTerm object.

Parameters
searchStrThe string to search for in the file path.
isFullPathTrue if the path should exactly match the given string, false to do a sub-string search.
isIncludedTrue if the results must include the path, false if the path should be excluded from the results.

Definition at line 343 of file SearchFiltering.java.

References org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.isFullPath(), org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.isIncluded(), and org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.searchStr.

Member Function Documentation

String org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.getSearchStr ( )
String org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.getSQLForTerm ( )
boolean org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.isFullPath ( )

Is the search string the full path of the of the parent or is it a sub-string in the parent path?

Returns
True if the search string is the full path of the parent, false if it is a sub-string.

Definition at line 399 of file SearchFiltering.java.

References org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.fullPath.

Referenced by org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.getSQLForTerm(), org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.ParentSearchTerm(), and org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.toString().

boolean org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.isIncluded ( )
String org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.toString ( )

Member Data Documentation

final boolean org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.fullPath
private
final boolean org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.included
private
final String org.sleuthkit.autopsy.discovery.search.SearchFiltering.ParentSearchTerm.searchStr
private

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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.