Autopsy  4.10.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.DateCondition Class Reference

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

Public Member Functions

 DateCondition (int days)
 
int getDaysIncluded ()
 
boolean passes (AbstractFile file)
 

Private Attributes

int daysIncluded
 

Static Private Attributes

static final long SECS_PER_DAY = 60 * 60 * 24
 

Detailed Description

A class for checking whether a file's creation or modification occured in a specific range of time

Definition at line 780 of file FilesSet.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.DateCondition.DateCondition ( int  days)

Construct a new DateCondition

Parameters
days- files created or modified more recently than this number of days will pass

Definition at line 797 of file FilesSet.java.

Member Function Documentation

int org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.DateCondition.getDaysIncluded ( )

Get the number of days which this condition allows to pass

Returns
integer value of the number days which will pass

Definition at line 806 of file FilesSet.java.

References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.DateCondition.daysIncluded.

Referenced by org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.toString().

boolean org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.DateCondition.passes ( AbstractFile  file)

Member Data Documentation

int org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.DateCondition.daysIncluded
private
final long org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.DateCondition.SECS_PER_DAY = 60 * 60 * 24
staticprivate

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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.