Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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() |
Definition at line 33 of file TikaFileTypeDetector.java.
synchronized String org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.detect | ( | AbstractFile | abstractFile | ) |
Detect the mime type of the passed in file
abstractFile |
Definition at line 50 of file TikaFileTypeDetector.java.
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"
mimeType | Full string of mime type, e.g. "text/html" |
Definition at line 81 of file TikaFileTypeDetector.java.
|
private |
Definition at line 37 of file TikaFileTypeDetector.java.
Referenced by org.sleuthkit.autopsy.modules.filetypeid.TikaFileTypeDetector.detect().
|
private |
Definition at line 36 of file TikaFileTypeDetector.java.
|
staticprivate |
Definition at line 35 of file TikaFileTypeDetector.java.
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.