Autopsy  4.4.1
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.filetypeid.TikaFileTypeDetector Class Reference

Public Member Functions

synchronized String detect (AbstractFile abstractFile)
boolean isMimeTypeDetectable (String mimeType)

Private Attributes

final byte buffer [] = new byte[BUFFER_SIZE]
final int BUFFER_SIZE = 64 * 1024

Static Private Attributes

static final Tika tikaInst = new Tika()

Detailed Description

Use org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector instead.

Definition at line 33 of file

Member Function Documentation

synchronized String org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.detect ( AbstractFile  abstractFile)

Detect the mime type of the passed in file

mime type of detected format or null
Use FileTypeDetector.detect(AbstractFile file) instead.

Definition at line 50 of file

References org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.buffer.

boolean org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.isMimeTypeDetectable ( String  mimeType)

Validate if a given mime type is in the registry. For Tika, we remove the string "tika" from all MIME names, e.g. use "application/x-msoffice" NOT "application/x-tika-msoffice"

Use FileTypeDetector.isDetectable(String mimeType) instead.
mimeTypeFull string of mime type, e.g. "text/html"
true if detectable

Definition at line 81 of file

Member Data Documentation

final byte org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.buffer[] = new byte[BUFFER_SIZE]
final int org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.BUFFER_SIZE = 64 * 1024

Definition at line 36 of file

final Tika org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.tikaInst = new Tika()

Definition at line 35 of file

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

Copyright © 2012-2016 Basis Technology. Generated on: Fri Sep 29 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.