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.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 350 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 360 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 374 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 365 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 352 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.