Autopsy  4.19.3
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.MimeTypeCondition Class Reference

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

Public Member Functions

 MimeTypeCondition (String mimeType)
 
String getMimeType ()
 
boolean passes (AbstractFile file)
 

Private Attributes

final String mimeType
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

A class for checking files based upon their MIME types.

Definition at line 462 of file FilesSet.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.MimeTypeCondition.MimeTypeCondition ( String  mimeType)

Constructs a MimeTypeCondition

Parameters
mimeTypeThe mime type to condition for

Definition at line 472 of file FilesSet.java.

References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.MimeTypeCondition.mimeType.

Member Function Documentation

String org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.MimeTypeCondition.getMimeType ( )

Gets the mime type that is being checked

Returns
the mime type

Definition at line 486 of file FilesSet.java.

References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.MimeTypeCondition.mimeType.

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

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

Definition at line 477 of file FilesSet.java.

Member Data Documentation

final String org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.MimeTypeCondition.mimeType
private
final long org.sleuthkit.autopsy.modules.interestingitems.FilesSet.Rule.MimeTypeCondition.serialVersionUID = 1L
staticprivate

Definition at line 464 of file FilesSet.java.


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

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